Operador Subtraction

Creates an object event set by performing a subtraction operation on an ObjectEvent object and an ObjectEventSet object.

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

Sintaxe

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

returnValue = (eventSet - anEvent)
public static ObjectEventSet operator -(
    ObjectEventSet eventSet,
    ObjectEvent anEvent
)
public:
static ObjectEventSet^ operator -(
    ObjectEventSet^ eventSet, 
    ObjectEvent^ anEvent
)
static let inline (-)
        eventSet:ObjectEventSet * 
        anEvent:ObjectEvent  : ObjectEventSet
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. . :: . .ObjectEventSet
An ObjectEventSet object value that specifies a set of object events.