DatabaseDdlTrigger.DdlTriggerEvents 屬性
Gets or sets the set of data definition language (DDL) events that raise the database DDL trigger.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Property DdlTriggerEvents As DatabaseDdlTriggerEventSet
Get
Set
'用途
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)
屬性值
型別:Microsoft.SqlServer.Management.Smo.DatabaseDdlTriggerEventSet
A DatabaseDdlTriggerEventSet object that specifies the events that raise the database DDL trigger.
備註
When the DatabaseDdlTrigger object is constructed, an instance of DatabaseDdlTriggerEventSet object is also created.
範例
請參閱
參考
Microsoft.SqlServer.Management.Smo 命名空間