Класс TriggerStatementBody

Represents the CREATE/ALTER TRIGGER statement.

Иерархия наследования

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
    Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
      Microsoft.SqlServer.TransactSql.ScriptDom.TriggerStatementBody
        Microsoft.SqlServer.TransactSql.ScriptDom.AlterTriggerStatement
        Microsoft.SqlServer.TransactSql.ScriptDom.CreateTriggerStatement

Пространство имен:  Microsoft.SqlServer.TransactSql.ScriptDom
Сборка:  Microsoft.SqlServer.TransactSql.ScriptDom (в Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Синтаксис

'Декларация
<SerializableAttribute> _
Public MustInherit Class TriggerStatementBody _
    Inherits TSqlStatement
'Применение
Dim instance As TriggerStatementBody
[SerializableAttribute]
public abstract class TriggerStatementBody : TSqlStatement
[SerializableAttribute]
public ref class TriggerStatementBody abstract : public TSqlStatement
[<AbstractClassAttribute>]
[<SerializableAttribute>]
type TriggerStatementBody =  
    class 
        inherit TSqlStatement 
    end
public abstract class TriggerStatementBody extends TSqlStatement

Тип TriggerStatementBody обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Защищенный метод TriggerStatementBody Initializes a new instance of the TriggerStatementBody class.

В начало

Свойства

  Имя Описание
Открытое свойство FirstTokenIndex Gets or sets the first token index. (Производный от TSqlFragment.)
Открытое свойство FragmentLength Gets the fragment length. (Производный от TSqlFragment.)
Открытое свойство IsNotForReplication Gets or sets a value that indicates whether NOT FOR REPLICATION is defined.
Открытое свойство LastTokenIndex Gets or sets the last token index. (Производный от TSqlFragment.)
Открытое свойство MethodSpecifier Gets or sets the name of the method specifier.
Открытое свойство Name Gets or sets the name of the trigger. It can at most be a two part name.
Открытое свойство Options Gets or sets the Options in WITH clause - different options for trigger and function
Открытое свойство ScriptTokenStream Gets or sets a list of token streams. (Производный от TSqlFragment.)
Открытое свойство StartColumn Gets the starting column. (Производный от TSqlFragment.)
Открытое свойство StartLine Gets the starting line. (Производный от TSqlFragment.)
Открытое свойство StartOffset Gets the fragment start offset value. (Производный от TSqlFragment.)
Открытое свойство StatementList Gets or sets the statements for trigger.
Открытое свойство TriggerActions Gets or sets the trigger actions.
Открытое свойство TriggerObject Gets or sets the target.
Открытое свойство TriggerType Gets or sets the type of the trigger.
Открытое свойство WithAppend Gets or sets a value that indicates whether WITH APPEND is defined.

В начало

Методы

  Имя Описание
Открытый метод Accept Indicates the entry point for a given visitor. (Производный от TSqlFragment.)
Открытый метод AcceptChildren Accepts visitor for Children. (Переопределяет TSqlStatement.AcceptChildren(TSqlFragmentVisitor).)
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetType (Производный от Object.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод ToString (Производный от Object.)

В начало

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.SqlServer.TransactSql.ScriptDom