Proprietà DatabaseDdlTrigger.DdlTriggerEvents

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Property DdlTriggerEvents As DatabaseDdlTriggerEventSet 
    Get 
    Set
'Utilizzo
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)

Valore proprietà

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

Osservazioni

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

Esempi

Impostazione delle proprietà

Vedere anche

Riferimento

DatabaseDdlTrigger Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo

Altre risorse

CREATE TRIGGER (Transact-SQL)

Trigger DDL