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
- eventSet
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .TableEventSet
A TableEventSet object that specifies the table event set.
- anEvent
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .TableEvent
A TableEvent object that specifies the table events.
Valor de retorno
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .TableEventSet
A TableEventSet object value that specifies a set of table events.