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.