Compartir a través de


Clase TSqlParser

Represents the Transact-SQL parser.

Jerarquía de herencia

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.TSqlParser
    Microsoft.SqlServer.TransactSql.ScriptDom.TSql100Parser
    Microsoft.SqlServer.TransactSql.ScriptDom.TSql110Parser
    Microsoft.SqlServer.TransactSql.ScriptDom.TSql80Parser
    Microsoft.SqlServer.TransactSql.ScriptDom.TSql90Parser

Espacio de nombres:  Microsoft.SqlServer.TransactSql.ScriptDom
Ensamblado:  Microsoft.SqlServer.TransactSql.ScriptDom (en Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Sintaxis

'Declaración
<SerializableAttribute> _
Public MustInherit Class TSqlParser
'Uso
Dim instance As TSqlParser
[SerializableAttribute]
public abstract class TSqlParser
[SerializableAttribute]
public ref class TSqlParser abstract
[<AbstractClassAttribute>]
[<SerializableAttribute>]
type TSqlParser =  class end
public abstract class TSqlParser

El tipo TSqlParser expone los siguientes miembros.

Propiedades

  Nombre Descripción
Propiedad pública QuotedIdentifier Gets a value that indicates whether the quoted identifier is on.

Arriba

Métodos

  Nombre Descripción
Método público Create Creates a Transact-SQL parser for the specified version.
Método público Equals (Se hereda de Object.)
Método protegido Finalize (Se hereda de Object.)
Método público GetHashCode (Se hereda de Object.)
Método público GetTokenStream(TextReader, IList<ParseError>%) Returns a list of parser tokens and a list of errors by using the provided text reader.
Método público GetTokenStream(TextReader, IList<ParseError>%, Int32, Int32, Int32) Returns a list of parser tokens and a list of errors by using the provided text reader.
Método público GetType (Se hereda de Object.)
Método protegido MemberwiseClone (Se hereda de Object.)
Método público Parse(TextReader, IList<ParseError>%) Returns a script fragment and a list of errors by using the provided text reader.
Método público Parse(IList<TSqlParserToken>, IList<ParseError>%) Returns a script fragment and a list of errors by using the provided tokens.
Método público Parse(TextReader, IList<ParseError>%, Int32, Int32, Int32) Returns a script fragment and a list of errors by using the provided values.
Método público ParseBooleanExpression(TextReader, IList<ParseError>%) Returns a Boolean expression and a list of errors by using the provided text reader.
Método público ParseBooleanExpression(TextReader, IList<ParseError>%, Int32, Int32, Int32) Returns a Boolean expression and a list of errors by using the provided values.
Método público ParseChildObjectName(TextReader, IList<ParseError>%) Returns a child object name and a list of errors by using the provided text reader.
Método público ParseChildObjectName(TextReader, IList<ParseError>%, Int32, Int32, Int32) Returns a child object name and a list of errors by using the provided values.
Método público ParseConstantOrIdentifier(TextReader, IList<ParseError>%) Returns a constant or identifier and a list of errors by using the provided text reader.
Método público ParseConstantOrIdentifier(TextReader, IList<ParseError>%, Int32, Int32, Int32) Returns a constant or identifier and a list of errors by using the provided values.
Método público ParseConstantOrIdentifierWithDefault(TextReader, IList<ParseError>%) Returns a constant or identifier with default values and a list of errors by using the provided text reader.
Método público ParseConstantOrIdentifierWithDefault(TextReader, IList<ParseError>%, Int32, Int32, Int32) Returns a constant or identifier with default values and a list of errors.
Método público ParseExpression(TextReader, IList<ParseError>%) Returns an expression and a list of errors by using the provided text reader.
Método público ParseExpression(TextReader, IList<ParseError>%, Int32, Int32, Int32) Returns an expression and a list of errors by using the provided values.
Método público ParseScalarDataType(TextReader, IList<ParseError>%) Returns a scalar data type and a list of errors by using the provided text reader.
Método público ParseScalarDataType(TextReader, IList<ParseError>%, Int32, Int32, Int32) Returns a scalar data type and a list of errors by using the provided values.
Método público ParseSchemaObjectName(TextReader, IList<ParseError>%) Returns a schema object name and a list of errors by using the provided text reader.
Método público ParseSchemaObjectName(TextReader, IList<ParseError>%, Int32, Int32, Int32) Returns a schema object name and a list of errors by using the provided values.
Método público ParseStatementList(TextReader, IList<ParseError>%) Returns a statement list and a list of errors by using the provided text reader.
Método público ParseStatementList(TextReader, IList<ParseError>%, Int32, Int32, Int32) Returns a statement list and a list of errors by using the provided values.
Método público ParseSubQueryExpressionWithOptionalCTE(TextReader, IList<ParseError>%) Parses an input string to get a subquery expression with optional common table expression and xml namespaces with the specified input reader.
Método público ParseSubQueryExpressionWithOptionalCTE(TextReader, IList<ParseError>%, Int32, Int32, Int32) Parses an input string to get a subquery expression with optional common table expression and xml namespaces with the specified input reader.
Método público ToString (Se hereda de Object.)
Método público TryParseSqlModuleObjectName Indicates whether the input script contains a SQL module object name.
Método público TryParseTriggerModule Indicates whether the input script contains a trigger module.
Método público ValidateIdentifier Returns whether a name is a valid SQL identifier.

Arriba

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.

Vea también

Referencia

Espacio de nombres Microsoft.SqlServer.TransactSql.ScriptDom