Partilhar via


Método ServiceQueueEvent.Add

Returns a Service Broker queue event set that is created by adding two specified events together.

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

Sintaxe

'Declaração
Public Shared Function Add ( _
    eventLeft As ServiceQueueEvent, _
    eventRight As ServiceQueueEvent _
) As ServiceQueueEventSet
'Uso
Dim eventLeft As ServiceQueueEvent 
Dim eventRight As ServiceQueueEvent 
Dim returnValue As ServiceQueueEventSet 

returnValue = ServiceQueueEvent.Add(eventLeft, _
    eventRight)
public static ServiceQueueEventSet Add(
    ServiceQueueEvent eventLeft,
    ServiceQueueEvent eventRight
)
public:
static ServiceQueueEventSet^ Add(
    ServiceQueueEvent^ eventLeft, 
    ServiceQueueEvent^ eventRight
)
static member Add : 
        eventLeft:ServiceQueueEvent * 
        eventRight:ServiceQueueEvent -> ServiceQueueEventSet
public static function Add(
    eventLeft : ServiceQueueEvent, 
    eventRight : 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.

Exemplos

Manipulando eventos SMO

Consulte também

Referência

ServiceQueueEvent Classe

Namespace Microsoft.SqlServer.Management.Smo