Partager via


Classe TriggerStatementBody

Represents the CREATE/ALTER TRIGGER statement.

Hiérarchie d'héritage

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

Espace de noms :  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly :  Microsoft.SqlServer.TransactSql.ScriptDom (en Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntaxe

'Déclaration
<SerializableAttribute> _
Public MustInherit Class TriggerStatementBody _
    Inherits TSqlStatement
'Utilisation
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

Le type TriggerStatementBody expose les membres suivants.

Constructeurs

  Nom Description
Méthode protégée TriggerStatementBody Initializes a new instance of the TriggerStatementBody class.

Haut de la page

Propriétés

  Nom Description
Propriété publique FirstTokenIndex Gets or sets the first token index. (hérité de TSqlFragment.)
Propriété publique FragmentLength Gets the fragment length. (hérité de TSqlFragment.)
Propriété publique IsNotForReplication Gets or sets a value that indicates whether NOT FOR REPLICATION is defined.
Propriété publique LastTokenIndex Gets or sets the last token index. (hérité de TSqlFragment.)
Propriété publique MethodSpecifier Gets or sets the name of the method specifier.
Propriété publique Name Gets or sets the name of the trigger. It can at most be a two part name.
Propriété publique Options Gets or sets the Options in WITH clause - different options for trigger and function
Propriété publique ScriptTokenStream Gets or sets a list of token streams. (hérité de TSqlFragment.)
Propriété publique StartColumn Gets the starting column. (hérité de TSqlFragment.)
Propriété publique StartLine Gets the starting line. (hérité de TSqlFragment.)
Propriété publique StartOffset Gets the fragment start offset value. (hérité de TSqlFragment.)
Propriété publique StatementList Gets or sets the statements for trigger.
Propriété publique TriggerActions Gets or sets the trigger actions.
Propriété publique TriggerObject Gets or sets the target.
Propriété publique TriggerType Gets or sets the type of the trigger.
Propriété publique WithAppend Gets or sets a value that indicates whether WITH APPEND is defined.

Haut de la page

Méthodes

  Nom Description
Méthode publique Accept Indicates the entry point for a given visitor. (hérité de TSqlFragment.)
Méthode publique AcceptChildren Accepts visitor for Children. (remplace TSqlStatement.AcceptChildren(TSqlFragmentVisitor).)
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetType (hérité de Object.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString (hérité de Object.)

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.TransactSql.ScriptDom