Partilhar via


Método ServiceQueueEventSet.Subtract

Returns a Service Broker queue event set after subtracting a queue event from the specified set.

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

Sintaxe

'Declaração
Public Shared Function Subtract ( _
    eventSet As ServiceQueueEventSet, _
    anEvent As ServiceQueueEvent _
) As ServiceQueueEventSet
'Uso
Dim eventSet As ServiceQueueEventSet 
Dim anEvent As ServiceQueueEvent 
Dim returnValue As ServiceQueueEventSet 

returnValue = ServiceQueueEventSet.Subtract(eventSet, _
    anEvent)
public static ServiceQueueEventSet Subtract(
    ServiceQueueEventSet eventSet,
    ServiceQueueEvent anEvent
)
public:
static ServiceQueueEventSet^ Subtract(
    ServiceQueueEventSet^ eventSet, 
    ServiceQueueEvent^ anEvent
)
static member Subtract : 
        eventSet:ServiceQueueEventSet * 
        anEvent:ServiceQueueEvent -> ServiceQueueEventSet
public static function Subtract(
    eventSet : ServiceQueueEventSet, 
    anEvent : ServiceQueueEvent
) : ServiceQueueEventSet

Parâmetros

Valor de retorno

Tipo: Microsoft.SqlServer.Management.Smo.ServiceQueueEventSet
A ServiceQueueEventSet object value that specifies a set of Service Broker queue events after the event is subtracted.

Exemplos

Manipulando eventos SMO

Consulte também

Referência

ServiceQueueEventSet Classe

Namespace Microsoft.SqlServer.Management.Smo