Partilhar via


Operador Subtraction

Creates a table event set by performing a subtraction operation on a TableEvent object and a TableEventSet object.

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

Sintaxe

'Declaração
Public Shared Operator - ( _
    eventSet As TableEventSet, _
    anEvent As TableEvent _
) As TableEventSet
'Uso
Dim eventSet As TableEventSet
Dim anEvent As TableEvent
Dim returnValue As TableEventSet

returnValue = (eventSet - anEvent)
public static TableEventSet operator -(
    TableEventSet eventSet,
    TableEvent anEvent
)
public:
static TableEventSet^ operator -(
    TableEventSet^ eventSet, 
    TableEvent^ anEvent
)
static let inline (-)
        eventSet:TableEventSet * 
        anEvent:TableEvent  : TableEventSet
JScript dá suporte ao uso de operadores sobrecarregados, mas não à declaração de operadores novos.

Parâmetros

Valor de retorno

Tipo: Microsoft.SqlServer.Management.Smo. . :: . .TableEventSet
A TableEventSet object value that specifies a set of table events.