Add 方法

Returns a Server DDL trigger event set after adding an SQL DLL trigger event to the event set.

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

语法

声明
Public Shared Function Add ( _
    eventLeft As ServerDdlTriggerEvent, _
    eventRight As ServerDdlTriggerEvent _
) As ServerDdlTriggerEventSet
用法
Dim eventLeft As ServerDdlTriggerEvent
Dim eventRight As ServerDdlTriggerEvent
Dim returnValue As ServerDdlTriggerEventSet

returnValue = ServerDdlTriggerEvent.Add(eventLeft, _
    eventRight)
public static ServerDdlTriggerEventSet Add(
    ServerDdlTriggerEvent eventLeft,
    ServerDdlTriggerEvent eventRight
)
public:
static ServerDdlTriggerEventSet^ Add(
    ServerDdlTriggerEvent^ eventLeft, 
    ServerDdlTriggerEvent^ eventRight
)
static member Add : 
        eventLeft:ServerDdlTriggerEvent * 
        eventRight:ServerDdlTriggerEvent -> ServerDdlTriggerEventSet 
public static function Add(
    eventLeft : ServerDdlTriggerEvent, 
    eventRight : ServerDdlTriggerEvent
) : ServerDdlTriggerEventSet

参数

返回值

类型:Microsoft.SqlServer.Management.Smo. . :: . .ServerDdlTriggerEventSet
A ServerDdlTriggerEventSet object value that specifies a set of server DDL trigger events after the event is added.