SqlAssemblyEvent.Add 方法
Returns an SQL assembly event set that is created by adding two SQL assembly events together.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Shared Function Add ( _
eventLeft As SqlAssemblyEvent, _
eventRight As SqlAssemblyEvent _
) As SqlAssemblyEventSet
'用途
Dim eventLeft As SqlAssemblyEvent
Dim eventRight As SqlAssemblyEvent
Dim returnValue As SqlAssemblyEventSet
returnValue = SqlAssemblyEvent.Add(eventLeft, _
eventRight)
public static SqlAssemblyEventSet Add(
SqlAssemblyEvent eventLeft,
SqlAssemblyEvent eventRight
)
public:
static SqlAssemblyEventSet^ Add(
SqlAssemblyEvent^ eventLeft,
SqlAssemblyEvent^ eventRight
)
static member Add :
eventLeft:SqlAssemblyEvent *
eventRight:SqlAssemblyEvent -> SqlAssemblyEventSet
public static function Add(
eventLeft : SqlAssemblyEvent,
eventRight : SqlAssemblyEvent
) : SqlAssemblyEventSet
參數
- eventLeft
型別:Microsoft.SqlServer.Management.Smo.SqlAssemblyEvent
An SqlAssemblyEvent object that specifies the assembly event to add.
- eventRight
型別:Microsoft.SqlServer.Management.Smo.SqlAssemblyEvent
An SqlAssemblyEvent object that specifies the other assembly event to add.
傳回值
型別:Microsoft.SqlServer.Management.Smo.SqlAssemblyEventSet
An SqlAssemblyEventSet object value that specifies a set of two assembly events.