DatabaseDdlTrigger.DdlTriggerEvents Property

Gets or sets the set of data definition language (DDL) events that raise the database DDL trigger.

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

Syntax

'Declaration
Public Property DdlTriggerEvents As DatabaseDdlTriggerEventSet 
    Get 
    Set
'Usage
Dim instance As DatabaseDdlTrigger 
Dim value As DatabaseDdlTriggerEventSet 

value = instance.DdlTriggerEvents

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

Property Value

Type: Microsoft.SqlServer.Management.Smo.DatabaseDdlTriggerEventSet
A DatabaseDdlTriggerEventSet object that specifies the events that raise the database DDL trigger.

Remarks

When the DatabaseDdlTrigger object is constructed, an instance of DatabaseDdlTriggerEventSet object is also created.

Examples

Setting Properties

See Also

Reference

DatabaseDdlTrigger Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

CREATE TRIGGER (Transact-SQL)

DDL Triggers