ServerDdlTrigger.DdlTriggerEvents 屬性
Gets or sets the set of data definition language (DDL) events that raise the server DDL trigger.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Property DdlTriggerEvents As ServerDdlTriggerEventSet
Get
Set
'用途
Dim instance As ServerDdlTrigger
Dim value As ServerDdlTriggerEventSet
value = instance.DdlTriggerEvents
instance.DdlTriggerEvents = value
public ServerDdlTriggerEventSet DdlTriggerEvents { get; set; }
public:
property ServerDdlTriggerEventSet^ DdlTriggerEvents {
ServerDdlTriggerEventSet^ get ();
void set (ServerDdlTriggerEventSet^ value);
}
member DdlTriggerEvents : ServerDdlTriggerEventSet with get, set
function get DdlTriggerEvents () : ServerDdlTriggerEventSet
function set DdlTriggerEvents (value : ServerDdlTriggerEventSet)
屬性值
型別:Microsoft.SqlServer.Management.Smo.ServerDdlTriggerEventSet
A ServerDdlTriggerEventSet object that specifies the events that raise the server DDL trigger.
備註
When the ServerDdlTrigger object is constructed, an instance of the ServerDdlTriggerEventSet object is also created.
範例
請參閱
參考
Microsoft.SqlServer.Management.Smo 命名空間