Subtraction Operador
Creates a service queue event set by performing a subtraction operation on a ServiceQueueEvent object and a ServiceQueueEventSet 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 ServiceQueueEventSet, _
anEvent As ServiceQueueEvent _
) As ServiceQueueEventSet
'Uso
Dim eventSet As ServiceQueueEventSet
Dim anEvent As ServiceQueueEvent
Dim returnValue As ServiceQueueEventSet
returnValue = (eventSet - anEvent)
public static ServiceQueueEventSet operator -(
ServiceQueueEventSet eventSet,
ServiceQueueEvent anEvent
)
public:
static ServiceQueueEventSet^ operator -(
ServiceQueueEventSet^ eventSet,
ServiceQueueEvent^ anEvent
)
static let inline (-)
eventSet:ServiceQueueEventSet *
anEvent:ServiceQueueEvent : ServiceQueueEventSet
JScript admite el uso de operadores sobrecargados, pero no la declaración de otros nuevos.
Parámetros
- eventSet
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ServiceQueueEventSet
A ServiceQueueEventSet object that specifies the service queue event set.
- anEvent
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ServiceQueueEvent
A ServiceQueueEvent object that specifies the service queue event.
Valor devuelto
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ServiceQueueEventSet
A ServiceQueueEventSet object value that specifies a set of service queue events.
Vea también