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.

示例

设置属性