Поделиться через


TSqlStatement Class

Represents a single Transact-SQL statement.

Inheritance Hierarchy

System.Object
  Microsoft.Data.Schema.ScriptDom.Sql.TSqlFragment
    Microsoft.Data.Schema.ScriptDom.Sql.TSqlStatement
      More...

Namespace:  Microsoft.Data.Schema.ScriptDom.Sql
Assembly:  Microsoft.Data.Schema.ScriptDom.Sql (in Microsoft.Data.Schema.ScriptDom.Sql.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public MustInherit Class TSqlStatement _
    Inherits TSqlFragment
[SerializableAttribute]
public abstract class TSqlStatement : TSqlFragment
[SerializableAttribute]
public ref class TSqlStatement abstract : public TSqlFragment
[<AbstractClass>]
[<SerializableAttribute>]
type TSqlStatement =  
    class
        inherit TSqlFragment
    end
public abstract class TSqlStatement extends TSqlFragment

The TSqlStatement type exposes the following members.

Constructors

  Name Description
Protected method TSqlStatement Initializes a new instance of a TSqlStatement.

Top

Properties

  Name Description
Public property FirstTokenIndex Gets or sets the first token index. (Inherited from TSqlFragment.)
Public property FragmentLength Gets the fragment length. (Inherited from TSqlFragment.)
Public property LastTokenIndex Gets or sets the last token index. (Inherited from TSqlFragment.)
Public property ScriptTokenStream Gets or sets a list of token streams. (Inherited from TSqlFragment.)
Public property StartColumn Gets the starting column. (Inherited from TSqlFragment.)
Public property StartLine Gets the starting line. (Inherited from TSqlFragment.)
Public property StartOffset Gets the fragment start offset value. (Inherited from TSqlFragment.)

Top

Methods

  Name Description
Public method Accept Entry point for a given visitor. (Inherited from TSqlFragment.)
Public method AcceptChildren Calls Accept on the children with the given visitor. (Overrides TSqlFragment.AcceptChildren(TSqlFragmentVisitor).)
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Data.Schema.ScriptDom.Sql Namespace

Inheritance Hierarchy

System.Object
  Microsoft.Data.Schema.ScriptDom.Sql.TSqlFragment
    Microsoft.Data.Schema.ScriptDom.Sql.TSqlStatement
      Microsoft.Data.Schema.ScriptDom.Sql.AlterAsymmetricKeyStatement
      Microsoft.Data.Schema.ScriptDom.Sql.AlterAuthorizationStatement
      Microsoft.Data.Schema.ScriptDom.Sql.AlterCreateEndpointStatementBase
      Microsoft.Data.Schema.ScriptDom.Sql.AlterCreateServiceStatementBase
      Microsoft.Data.Schema.ScriptDom.Sql.AlterCryptographicProviderStatement
      Microsoft.Data.Schema.ScriptDom.Sql.AlterDatabaseStatement
      Microsoft.Data.Schema.ScriptDom.Sql.AlterFullTextIndexStatement
      Microsoft.Data.Schema.ScriptDom.Sql.AlterFullTextStopListStatement
      Microsoft.Data.Schema.ScriptDom.Sql.AlterLoginStatement
      Microsoft.Data.Schema.ScriptDom.Sql.AlterPartitionFunctionStatement
      Microsoft.Data.Schema.ScriptDom.Sql.AlterPartitionSchemeStatement
      Microsoft.Data.Schema.ScriptDom.Sql.AlterResourceGovernorStatement
      Microsoft.Data.Schema.ScriptDom.Sql.AlterSchemaStatement
      Microsoft.Data.Schema.ScriptDom.Sql.AlterServerConfigurationStatement
      Microsoft.Data.Schema.ScriptDom.Sql.AlterServiceMasterKeyStatement
      Microsoft.Data.Schema.ScriptDom.Sql.AlterTableStatement
      Microsoft.Data.Schema.ScriptDom.Sql.AlterXmlSchemaCollectionStatement
      Microsoft.Data.Schema.ScriptDom.Sql.ApplicationRoleStatement
      Microsoft.Data.Schema.ScriptDom.Sql.AssemblyStatement
      Microsoft.Data.Schema.ScriptDom.Sql.AuditSpecificationStatement
      Microsoft.Data.Schema.ScriptDom.Sql.BackupRestoreMasterKeyStatementBase
      Microsoft.Data.Schema.ScriptDom.Sql.BackupStatement
      Microsoft.Data.Schema.ScriptDom.Sql.BeginConversationTimerStatement
      Microsoft.Data.Schema.ScriptDom.Sql.BeginDialogStatement
      Microsoft.Data.Schema.ScriptDom.Sql.BeginEndBlockStatement
      Microsoft.Data.Schema.ScriptDom.Sql.BreakStatement
      Microsoft.Data.Schema.ScriptDom.Sql.BrokerPriorityStatement
      Microsoft.Data.Schema.ScriptDom.Sql.BulkInsertBase
      Microsoft.Data.Schema.ScriptDom.Sql.CertificateStatementBase
      Microsoft.Data.Schema.ScriptDom.Sql.CheckpointStatement
      Microsoft.Data.Schema.ScriptDom.Sql.CloseMasterKeyStatement
      Microsoft.Data.Schema.ScriptDom.Sql.CloseSymmetricKeyStatement
      Microsoft.Data.Schema.ScriptDom.Sql.ContinueStatement
      Microsoft.Data.Schema.ScriptDom.Sql.CreateAggregateStatement
      Microsoft.Data.Schema.ScriptDom.Sql.CreateAsymmetricKeyStatement
      Microsoft.Data.Schema.ScriptDom.Sql.CreateContractStatement
      Microsoft.Data.Schema.ScriptDom.Sql.CreateCryptographicProviderStatement
      Microsoft.Data.Schema.ScriptDom.Sql.CreateDatabaseStatement
      Microsoft.Data.Schema.ScriptDom.Sql.CreateDefaultStatement
      Microsoft.Data.Schema.ScriptDom.Sql.CreateEventNotificationStatement
      Microsoft.Data.Schema.ScriptDom.Sql.CreateFullTextIndexStatement
      Microsoft.Data.Schema.ScriptDom.Sql.CreateFullTextStopListStatement
      Microsoft.Data.Schema.ScriptDom.Sql.CreateLoginStatement
      Microsoft.Data.Schema.ScriptDom.Sql.CreatePartitionFunctionStatement
      Microsoft.Data.Schema.ScriptDom.Sql.CreatePartitionSchemeStatement
      Microsoft.Data.Schema.ScriptDom.Sql.CreateRuleStatement
      Microsoft.Data.Schema.ScriptDom.Sql.CreateSchemaStatement
      Microsoft.Data.Schema.ScriptDom.Sql.CreateSpatialIndexStatement
      Microsoft.Data.Schema.ScriptDom.Sql.CreateStatisticsStatement
      Microsoft.Data.Schema.ScriptDom.Sql.CreateSynonymStatement
      Microsoft.Data.Schema.ScriptDom.Sql.CreateTableStatement
      Microsoft.Data.Schema.ScriptDom.Sql.CreateTypeStatement
      Microsoft.Data.Schema.ScriptDom.Sql.CreateXmlSchemaCollectionStatement
      Microsoft.Data.Schema.ScriptDom.Sql.CredentialStatement
      Microsoft.Data.Schema.ScriptDom.Sql.CursorStatement
      Microsoft.Data.Schema.ScriptDom.Sql.DatabaseEncryptionKeyStatement
      Microsoft.Data.Schema.ScriptDom.Sql.DbccStatement
      Microsoft.Data.Schema.ScriptDom.Sql.DeclareCursorStatement
      Microsoft.Data.Schema.ScriptDom.Sql.DeclareTableStatement
      Microsoft.Data.Schema.ScriptDom.Sql.DeclareVariableStatement
      Microsoft.Data.Schema.ScriptDom.Sql.DropChildObjectsStatement
      Microsoft.Data.Schema.ScriptDom.Sql.DropDatabaseEncryptionKeyStatement
      Microsoft.Data.Schema.ScriptDom.Sql.DropDatabaseStatement
      Microsoft.Data.Schema.ScriptDom.Sql.DropEventNotificationStatement
      Microsoft.Data.Schema.ScriptDom.Sql.DropFullTextIndexStatement
      Microsoft.Data.Schema.ScriptDom.Sql.DropIndexStatement
      Microsoft.Data.Schema.ScriptDom.Sql.DropMasterKeyStatement
      Microsoft.Data.Schema.ScriptDom.Sql.DropObjectsStatement
      Microsoft.Data.Schema.ScriptDom.Sql.DropQueueStatement
      Microsoft.Data.Schema.ScriptDom.Sql.DropSchemaStatement
      Microsoft.Data.Schema.ScriptDom.Sql.DropTypeStatement
      Microsoft.Data.Schema.ScriptDom.Sql.DropUnownedObjectStatement
      Microsoft.Data.Schema.ScriptDom.Sql.DropXmlSchemaCollectionStatement
      Microsoft.Data.Schema.ScriptDom.Sql.EnableDisableTriggerStatement
      Microsoft.Data.Schema.ScriptDom.Sql.EndConversationStatement
      Microsoft.Data.Schema.ScriptDom.Sql.EventSessionStatement
      Microsoft.Data.Schema.ScriptDom.Sql.ExecuteAsStatement
      Microsoft.Data.Schema.ScriptDom.Sql.ExecuteStatement
      Microsoft.Data.Schema.ScriptDom.Sql.FullTextCatalogStatement
      Microsoft.Data.Schema.ScriptDom.Sql.GoToStatement
      Microsoft.Data.Schema.ScriptDom.Sql.IfStatement
      Microsoft.Data.Schema.ScriptDom.Sql.IndexStatement
      Microsoft.Data.Schema.ScriptDom.Sql.InvalidTSqlStatement
      Microsoft.Data.Schema.ScriptDom.Sql.KillQueryNotificationSubscriptionStatement
      Microsoft.Data.Schema.ScriptDom.Sql.KillStatement
      Microsoft.Data.Schema.ScriptDom.Sql.KillStatsJobStatement
      Microsoft.Data.Schema.ScriptDom.Sql.LabelStatement
      Microsoft.Data.Schema.ScriptDom.Sql.LineNoStatement
      Microsoft.Data.Schema.ScriptDom.Sql.MasterKeyStatement
      Microsoft.Data.Schema.ScriptDom.Sql.MessageTypeStatementBase
      Microsoft.Data.Schema.ScriptDom.Sql.MoveConversationStatement
      Microsoft.Data.Schema.ScriptDom.Sql.OpenMasterKeyStatement
      Microsoft.Data.Schema.ScriptDom.Sql.OpenSymmetricKeyStatement
      Microsoft.Data.Schema.ScriptDom.Sql.PrintStatement
      Microsoft.Data.Schema.ScriptDom.Sql.ProcedureStatementBodyBase
      Microsoft.Data.Schema.ScriptDom.Sql.QueueStatement
      Microsoft.Data.Schema.ScriptDom.Sql.RaiseErrorLegacyStatement
      Microsoft.Data.Schema.ScriptDom.Sql.RaiseErrorStatement
      Microsoft.Data.Schema.ScriptDom.Sql.ReadTextStatement
      Microsoft.Data.Schema.ScriptDom.Sql.ReconfigureStatement
      Microsoft.Data.Schema.ScriptDom.Sql.RemoteServiceBindingStatementBase
      Microsoft.Data.Schema.ScriptDom.Sql.ResourcePoolStatement
      Microsoft.Data.Schema.ScriptDom.Sql.RestoreStatement
      Microsoft.Data.Schema.ScriptDom.Sql.ReturnStatement
      Microsoft.Data.Schema.ScriptDom.Sql.RevertStatement
      Microsoft.Data.Schema.ScriptDom.Sql.RoleStatement
      Microsoft.Data.Schema.ScriptDom.Sql.RouteStatement
      Microsoft.Data.Schema.ScriptDom.Sql.SecurityStatement
      Microsoft.Data.Schema.ScriptDom.Sql.SecurityStatementBody80
      Microsoft.Data.Schema.ScriptDom.Sql.SendStatement
      Microsoft.Data.Schema.ScriptDom.Sql.ServerAuditStatement
      Microsoft.Data.Schema.ScriptDom.Sql.SetCommandStatement
      Microsoft.Data.Schema.ScriptDom.Sql.SetErrorLevelStatement
      Microsoft.Data.Schema.ScriptDom.Sql.SetOnOffStatement
      Microsoft.Data.Schema.ScriptDom.Sql.SetRowCountStatement
      Microsoft.Data.Schema.ScriptDom.Sql.SetTextSizeStatement
      Microsoft.Data.Schema.ScriptDom.Sql.SetTransactionIsolationLevelStatement
      Microsoft.Data.Schema.ScriptDom.Sql.SetUserStatement
      Microsoft.Data.Schema.ScriptDom.Sql.SetVariableStatement
      Microsoft.Data.Schema.ScriptDom.Sql.ShutdownStatement
      Microsoft.Data.Schema.ScriptDom.Sql.SignatureStatementBase
      Microsoft.Data.Schema.ScriptDom.Sql.StatementWithCommonTableExpressionsAndXmlNamespaces
      Microsoft.Data.Schema.ScriptDom.Sql.SymmetricKeyStatement
      Microsoft.Data.Schema.ScriptDom.Sql.TextModificationStatement
      Microsoft.Data.Schema.ScriptDom.Sql.TransactionStatement
      Microsoft.Data.Schema.ScriptDom.Sql.TriggerStatementBody
      Microsoft.Data.Schema.ScriptDom.Sql.TruncateTableStatement
      Microsoft.Data.Schema.ScriptDom.Sql.TryCatchStatement
      Microsoft.Data.Schema.ScriptDom.Sql.UpdateStatisticsStatement
      Microsoft.Data.Schema.ScriptDom.Sql.UserStatement
      Microsoft.Data.Schema.ScriptDom.Sql.UseStatement
      Microsoft.Data.Schema.ScriptDom.Sql.ViewStatementBody
      Microsoft.Data.Schema.ScriptDom.Sql.WaitForStatement
      Microsoft.Data.Schema.ScriptDom.Sql.WaitForSupportedStatement
      Microsoft.Data.Schema.ScriptDom.Sql.WhileStatement
      Microsoft.Data.Schema.ScriptDom.Sql.WorkloadGroupStatement