Delen via


TriggerStatementBody.TriggerType Property

Gets or sets the type of the trigger.

Namespace:  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntax

'Declaration
Public Property TriggerType As TriggerType 
    Get 
    Set
'Usage
Dim instance As TriggerStatementBody 
Dim value As TriggerType 

value = instance.TriggerType

instance.TriggerType = value
public TriggerType TriggerType { get; set; }
public:
property TriggerType TriggerType {
    TriggerType get ();
    void set (TriggerType value);
}
member TriggerType : TriggerType with get, set
function get TriggerType () : TriggerType 
function set TriggerType (value : TriggerType)

Property Value

Type: Microsoft.SqlServer.TransactSql.ScriptDom.TriggerType
The type of the trigger.

See Also

Reference

TriggerStatementBody Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace