مشاركة عبر


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

Return Value

Type: Microsoft.SqlServer.Management.Smo.SqlAssemblyEventSet
An SqlAssemblyEventSet object value that specifies a set of two assembly events.

Examples

Handling SMO Events

See Also

Reference

SqlAssemblyEvent Class

Microsoft.SqlServer.Management.Smo Namespace