DatabaseEventSet.Subtraction Operador
Creates a database event set by performing a subtraction operation on a DatabaseEvent object and a DatabaseEventSet object.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Shared Operator - ( _
eventSet As DatabaseEventSet, _
anEvent As DatabaseEvent _
) As DatabaseEventSet
'Uso
Dim eventSet As DatabaseEventSet
Dim anEvent As DatabaseEvent
Dim returnValue As DatabaseEventSet
returnValue = (eventSet - anEvent)
public static DatabaseEventSet operator -(
DatabaseEventSet eventSet,
DatabaseEvent anEvent
)
public:
static DatabaseEventSet^ operator -(
DatabaseEventSet^ eventSet,
DatabaseEvent^ anEvent
)
static let inline(-)
eventSet:DatabaseEventSet *
anEvent:DatabaseEvent : DatabaseEventSet
JScript admite el uso de operadores sobrecargados, pero no la declaración de otros nuevos.
Parámetros
- eventSet
Tipo: Microsoft.SqlServer.Management.Smo.DatabaseEventSet
A DatabaseEventSet object that specifies the database event set.
- anEvent
Tipo: Microsoft.SqlServer.Management.Smo.DatabaseEvent
A DatabaseEvent object that specifies the database events.
Valor devuelto
Tipo: Microsoft.SqlServer.Management.Smo.DatabaseEventSet
A DatabaseEventSet object value that specifies a set of database events.