Partager via


Méthode ViewEventSet.Subtract

Removes a view event from the event set.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Shared Function Subtract ( _
    eventSet As ViewEventSet, _
    anEvent As ViewEvent _
) As ViewEventSet
'Utilisation
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

Paramètres

Valeur de retour

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

Exemples

Gestion des événements SMO

Voir aussi

Référence

ViewEventSet Classe

Espace de noms Microsoft.SqlServer.Management.Smo