Partilhar via


Método TableEventSet.Subtract

Removes an event from the event set.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Shared Function Subtract ( _
    eventSet As TableEventSet, _
    anEvent As TableEvent _
) As TableEventSet
'Uso
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

Parâmetros

Valor de retorno

Tipo: Microsoft.SqlServer.Management.Smo.TableEventSet
An event from the event set.

Exemplos

Manipulando eventos SMO

Consulte também

Referência

TableEventSet Classe

Namespace Microsoft.SqlServer.Management.Smo