Partager via


Méthode StoredProcedureEventSet.Subtract

Returns a set of stored procedure events after subtracting a stored procedure event from the specified 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 StoredProcedureEventSet, _
    anEvent As StoredProcedureEvent _
) As StoredProcedureEventSet
'Utilisation
Dim eventSet As StoredProcedureEventSet 
Dim anEvent As StoredProcedureEvent 
Dim returnValue As StoredProcedureEventSet 

returnValue = StoredProcedureEventSet.Subtract(eventSet, _
    anEvent)
public static StoredProcedureEventSet Subtract(
    StoredProcedureEventSet eventSet,
    StoredProcedureEvent anEvent
)
public:
static StoredProcedureEventSet^ Subtract(
    StoredProcedureEventSet^ eventSet, 
    StoredProcedureEvent^ anEvent
)
static member Subtract : 
        eventSet:StoredProcedureEventSet * 
        anEvent:StoredProcedureEvent -> StoredProcedureEventSet
public static function Subtract(
    eventSet : StoredProcedureEventSet, 
    anEvent : StoredProcedureEvent
) : StoredProcedureEventSet

Paramètres

Valeur de retour

Type : Microsoft.SqlServer.Management.Smo.StoredProcedureEventSet
A StoredProcedureEventSet object value that specifies a set of stored procedure events after the stored procedure event is subtracted.

Exemples

Gestion des événements SMO

Voir aussi

Référence

StoredProcedureEventSet Classe

Espace de noms Microsoft.SqlServer.Management.Smo