SqlAssemblyEvent.Add Method
Returns an SQL assembly event set that is created by adding two SQL assembly events together.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Shared Function Add ( _
eventLeft As SqlAssemblyEvent, _
eventRight As SqlAssemblyEvent _
) As SqlAssemblyEventSet
'Usage
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
Parameters
- eventLeft
Type: Microsoft.SqlServer.Management.Smo.SqlAssemblyEvent
An SqlAssemblyEvent object that specifies the assembly event to add.
- eventRight
Type: Microsoft.SqlServer.Management.Smo.SqlAssemblyEvent
An SqlAssemblyEvent object that specifies the other assembly event to add.
Return Value
Type: Microsoft.SqlServer.Management.Smo.SqlAssemblyEventSet
An SqlAssemblyEventSet object value that specifies a set of two assembly events.