Aracılığıyla paylaş


ObjectEvent.Add Method

Returns the object event set that is created by adding two object events.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Bildirim
Public Shared Function Add ( _
    eventLeft As ObjectEvent, _
    eventRight As ObjectEvent _
) As ObjectEventSet
'Kullanım
Dim eventLeft As ObjectEvent
Dim eventRight As ObjectEvent
Dim returnValue As ObjectEventSet

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

Parameters

Return Value

Type: Microsoft.SqlServer.Management.Smo.ObjectEventSet
A ObjectEventSet object value that specifies a set of object events.

Examples

Handling SMO Events

See Also

Reference

ObjectEvent Class

Microsoft.SqlServer.Management.Smo Namespace