Trigger.Events Property

Gets the events that are associated with the trigger.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public ReadOnly Property Events As TriggerEvents 
    Get
'Usage
Dim instance As Trigger 
Dim value As TriggerEvents 

value = instance.Events
public TriggerEvents Events { get; }
public:
property TriggerEvents^ Events {
    TriggerEvents^ get ();
}
member Events : TriggerEvents
function get Events () : TriggerEvents

Property Value

Type: Microsoft.SqlServer.Management.Smo.TriggerEvents
A TriggerEvents object that represents the trigger events.

Examples

Creating, Altering, and Removing Triggers

See Also

Reference

Trigger Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

DML Triggers

CREATE TRIGGER (Transact-SQL)