ViewEvent.Add Method
Adds two view events to the event set.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Shared Function Add ( _
eventLeft As ViewEvent, _
eventRight As ViewEvent _
) As ViewEventSet
'Usage
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
Parameters
- eventLeft
Type: Microsoft.SqlServer.Management.Smo.ViewEvent
ViewEvent
- eventRight
Type: Microsoft.SqlServer.Management.Smo.ViewEvent
ViewEvent
Return Value
Type: Microsoft.SqlServer.Management.Smo.ViewEventSet
ViewEventSet