Partager via


Méthode Subtract

Removes an 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 TableEventSet, _
    anEvent As TableEvent _
) As TableEventSet
'Utilisation
Dim eventSet As TableEventSet
Dim anEvent As TableEvent
Dim returnValue As TableEventSet

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