Metodo ViewEventSet.Subtract

Removes a view event from the event set.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Shared Function Subtract ( _
    eventSet As ViewEventSet, _
    anEvent As ViewEvent _
) As ViewEventSet
'Utilizzo
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

Parametri

Valore restituito

Tipo: Microsoft.SqlServer.Management.Smo.ViewEventSet
A removed view set from the event set.

Esempi

Gestione degli eventi SMO

Vedere anche

Riferimento

ViewEventSet Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo