Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
The event to be added.
- eventRight
Type: Microsoft.SqlServer.Management.Smo.ViewEvent
The event to be added.
Return Value
Type: Microsoft.SqlServer.Management.Smo.ViewEventSet
The event set with added event.