Add 方法 (DatabaseDdlTriggerEventSet, DatabaseDdlTriggerEvent)

Returns a set of database DDL trigger events after adding a new event to the event specified set.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.SqlEnum(在 Microsoft.SqlServer.SqlEnum.dll 中)

语法

声明
Public Shared Function Add ( _
    eventSet As DatabaseDdlTriggerEventSet, _
    anEvent As DatabaseDdlTriggerEvent _
) As DatabaseDdlTriggerEventSet
用法
Dim eventSet As DatabaseDdlTriggerEventSet
Dim anEvent As DatabaseDdlTriggerEvent
Dim returnValue As DatabaseDdlTriggerEventSet

returnValue = DatabaseDdlTriggerEventSet.Add(eventSet, _
    anEvent)
public static DatabaseDdlTriggerEventSet Add(
    DatabaseDdlTriggerEventSet eventSet,
    DatabaseDdlTriggerEvent anEvent
)
public:
static DatabaseDdlTriggerEventSet^ Add(
    DatabaseDdlTriggerEventSet^ eventSet, 
    DatabaseDdlTriggerEvent^ anEvent
)
static member Add : 
        eventSet:DatabaseDdlTriggerEventSet * 
        anEvent:DatabaseDdlTriggerEvent -> DatabaseDdlTriggerEventSet 
public static function Add(
    eventSet : DatabaseDdlTriggerEventSet, 
    anEvent : DatabaseDdlTriggerEvent
) : DatabaseDdlTriggerEventSet

参数