EnableDisableTriggerStatement EnableDisableTriggerStatement EnableDisableTriggerStatement Class


Defines the modifications to triggers. Triggers can be enabled or disabled.

public ref class EnableDisableTriggerStatement : Microsoft::SqlServer::TransactSql::ScriptDom::TSqlStatement
public class EnableDisableTriggerStatement : Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
Public Class EnableDisableTriggerStatement
Inherits TSqlStatement


EnableDisableTriggerStatement() EnableDisableTriggerStatement() EnableDisableTriggerStatement()

Initializes a new instance of the EnableDisableTriggerStatement class.


All All All

Gets or set a value that indicates whether the modification is for all triggers.

FirstTokenIndex FirstTokenIndex FirstTokenIndex

Gets or sets the first token index.

(Inherited from TSqlFragment)
FragmentLength FragmentLength FragmentLength

Gets the fragment length.

(Inherited from TSqlFragment)
LastTokenIndex LastTokenIndex LastTokenIndex

Gets or sets the last token index.

(Inherited from TSqlFragment)
ScriptTokenStream ScriptTokenStream ScriptTokenStream

Gets or sets a list of token streams.

(Inherited from TSqlFragment)
StartColumn StartColumn StartColumn

Gets the starting column.

(Inherited from TSqlFragment)
StartLine StartLine StartLine

Gets the starting line.

(Inherited from TSqlFragment)
StartOffset StartOffset StartOffset

Gets the fragment start offset value.

(Inherited from TSqlFragment)
TriggerEnforcement TriggerEnforcement TriggerEnforcement

Gets or sets the new enforcement option on the trigger.

TriggerNames TriggerNames TriggerNames

Gets a list of the names of triggers to be modified.

TriggerObject TriggerObject TriggerObject

Gets or sets the target.


Accept(TSqlFragmentVisitor) Accept(TSqlFragmentVisitor) Accept(TSqlFragmentVisitor)

Accepts the visitor.

AcceptChildren(TSqlFragmentVisitor) AcceptChildren(TSqlFragmentVisitor) AcceptChildren(TSqlFragmentVisitor)

Accepts the visitor for Children.


Uninitialized Uninitialized Uninitialized

Value is -1.

(Inherited from TSqlFragment)

Applies to