TSqlStatement 类

表示单个 Transact-SQL 语句。

继承层次结构

System.Object
  Microsoft.Data.Schema.ScriptDom.Sql.TSqlFragment
    Microsoft.Data.Schema.ScriptDom.Sql.TSqlStatement
      更多...

命名空间:  Microsoft.Data.Schema.ScriptDom.Sql
程序集:  Microsoft.Data.Schema.ScriptDom.Sql(在 Microsoft.Data.Schema.ScriptDom.Sql.dll 中)

语法

声明
<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

TSqlStatement 类型公开以下成员。

构造函数

  名称 说明
受保护的方法 TSqlStatement 初始化 TSqlStatement 的新实例。

页首

属性

  名称 说明
公共属性 FirstTokenIndex 获取或设置第一个标记索引。 (继承自 TSqlFragment。)
公共属性 FragmentLength 获取片段长度。 (继承自 TSqlFragment。)
公共属性 LastTokenIndex 获取或设置最后一个标记索引。 (继承自 TSqlFragment。)
公共属性 ScriptTokenStream 获取或设置标记流的列表。 (继承自 TSqlFragment。)
公共属性 StartColumn 获取起始列。 (继承自 TSqlFragment。)
公共属性 StartLine 获取起始行。 (继承自 TSqlFragment。)
公共属性 StartOffset 获取片段的起始偏移值。 (继承自 TSqlFragment。)

页首

方法

  名称 说明
公共方法 Accept 给定访问者的入口点。 (继承自 TSqlFragment。)
公共方法 AcceptChildren 用给定访问者对子级调用 Accept。 (重写 TSqlFragment.AcceptChildren(TSqlFragmentVisitor)。)
公共方法 Equals 确定指定的 Object 是否等于当前的 Object。 (继承自 Object。)
受保护的方法 Finalize 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。)
公共方法 GetHashCode 用作特定类型的哈希函数。 (继承自 Object。)
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
受保护的方法 MemberwiseClone 创建当前 Object 的浅表副本。 (继承自 Object。)
公共方法 ToString 返回表示当前对象的字符串。 (继承自 Object。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参见

参考

Microsoft.Data.Schema.ScriptDom.Sql 命名空间

继承层次结构

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