Freigeben über


TSqlParser-Klasse

Represents the Transact-SQL parser.

Vererbungshierarchie

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

Namespace:  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public MustInherit Class TSqlParser
'Usage
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

Der TSqlParser-Typ macht folgende Elemente verfügbar.

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft QuotedIdentifier Gets a value that indicates whether the quoted identifier is on.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Create Creates a Transact-SQL parser for the specified version.
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetTokenStream(TextReader, IList<ParseError>%) Returns a list of parser tokens and a list of errors by using the provided text reader.
Öffentliche Methode GetTokenStream(TextReader, IList<ParseError>%, Int32, Int32, Int32) Returns a list of parser tokens and a list of errors by using the provided text reader.
Öffentliche Methode GetType (Geerbt von Object.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Öffentliche Methode Parse(TextReader, IList<ParseError>%) Returns a script fragment and a list of errors by using the provided text reader.
Öffentliche Methode Parse(IList<TSqlParserToken>, IList<ParseError>%) Returns a script fragment and a list of errors by using the provided tokens.
Öffentliche Methode Parse(TextReader, IList<ParseError>%, Int32, Int32, Int32) Returns a script fragment and a list of errors by using the provided values.
Öffentliche Methode ParseBooleanExpression(TextReader, IList<ParseError>%) Returns a Boolean expression and a list of errors by using the provided text reader.
Öffentliche Methode ParseBooleanExpression(TextReader, IList<ParseError>%, Int32, Int32, Int32) Returns a Boolean expression and a list of errors by using the provided values.
Öffentliche Methode ParseChildObjectName(TextReader, IList<ParseError>%) Returns a child object name and a list of errors by using the provided text reader.
Öffentliche Methode ParseChildObjectName(TextReader, IList<ParseError>%, Int32, Int32, Int32) Returns a child object name and a list of errors by using the provided values.
Öffentliche Methode ParseConstantOrIdentifier(TextReader, IList<ParseError>%) Returns a constant or identifier and a list of errors by using the provided text reader.
Öffentliche Methode ParseConstantOrIdentifier(TextReader, IList<ParseError>%, Int32, Int32, Int32) Returns a constant or identifier and a list of errors by using the provided values.
Öffentliche Methode ParseConstantOrIdentifierWithDefault(TextReader, IList<ParseError>%) Returns a constant or identifier with default values and a list of errors by using the provided text reader.
Öffentliche Methode ParseConstantOrIdentifierWithDefault(TextReader, IList<ParseError>%, Int32, Int32, Int32) Returns a constant or identifier with default values and a list of errors.
Öffentliche Methode ParseExpression(TextReader, IList<ParseError>%) Returns an expression and a list of errors by using the provided text reader.
Öffentliche Methode ParseExpression(TextReader, IList<ParseError>%, Int32, Int32, Int32) Returns an expression and a list of errors by using the provided values.
Öffentliche Methode ParseScalarDataType(TextReader, IList<ParseError>%) Returns a scalar data type and a list of errors by using the provided text reader.
Öffentliche Methode ParseScalarDataType(TextReader, IList<ParseError>%, Int32, Int32, Int32) Returns a scalar data type and a list of errors by using the provided values.
Öffentliche Methode ParseSchemaObjectName(TextReader, IList<ParseError>%) Returns a schema object name and a list of errors by using the provided text reader.
Öffentliche Methode ParseSchemaObjectName(TextReader, IList<ParseError>%, Int32, Int32, Int32) Returns a schema object name and a list of errors by using the provided values.
Öffentliche Methode ParseStatementList(TextReader, IList<ParseError>%) Returns a statement list and a list of errors by using the provided text reader.
Öffentliche Methode ParseStatementList(TextReader, IList<ParseError>%, Int32, Int32, Int32) Returns a statement list and a list of errors by using the provided values.
Öffentliche Methode 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.
Öffentliche Methode 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.
Öffentliche Methode ToString (Geerbt von Object.)
Öffentliche Methode TryParseSqlModuleObjectName Indicates whether the input script contains a SQL module object name.
Öffentliche Methode TryParseTriggerModule Indicates whether the input script contains a trigger module.
Öffentliche Methode ValidateIdentifier Returns whether a name is a valid SQL identifier.

Zum Anfang

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.SqlServer.TransactSql.ScriptDom-Namespace