Compartilhar via


Método Add

Adds two view events to the event set.

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

Sintaxe

'Declaração
Public Shared Function Add ( _
    eventLeft As ViewEvent, _
    eventRight As ViewEvent _
) As ViewEventSet
'Uso
Dim eventLeft As ViewEvent
Dim eventRight As ViewEvent
Dim returnValue As ViewEventSet

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