ViewEventSet.Subtract Method
Removes a view event from the event set.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Shared Function Subtract ( _
eventSet As ViewEventSet, _
anEvent As ViewEvent _
) As ViewEventSet
'Usage
Dim eventSet As ViewEventSet
Dim anEvent As ViewEvent
Dim returnValue As ViewEventSet
returnValue = ViewEventSet.Subtract(eventSet, _
anEvent)
public static ViewEventSet Subtract(
ViewEventSet eventSet,
ViewEvent anEvent
)
public:
static ViewEventSet^ Subtract(
ViewEventSet^ eventSet,
ViewEvent^ anEvent
)
static member Subtract :
eventSet:ViewEventSet *
anEvent:ViewEvent -> ViewEventSet
public static function Subtract(
eventSet : ViewEventSet,
anEvent : ViewEvent
) : ViewEventSet
Parameters
- eventSet
Type: Microsoft.SqlServer.Management.Smo.ViewEventSet
ViewEventSet
- anEvent
Type: Microsoft.SqlServer.Management.Smo.ViewEvent
ViewEvent
Return Value
Type: Microsoft.SqlServer.Management.Smo.ViewEventSet
ViewEventSet