Compartir a través de


ServiceQueueEventSet.Add Método (ServiceQueueEvent)

Returns a Service Broker queue event set after adding a new queue event to the referenced set.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public Function Add ( _
    anEvent As ServiceQueueEvent _
) As ServiceQueueEventSet
'Uso
Dim instance As ServiceQueueEventSet 
Dim anEvent As ServiceQueueEvent 
Dim returnValue As ServiceQueueEventSet 

returnValue = instance.Add(anEvent)
public ServiceQueueEventSet Add(
    ServiceQueueEvent anEvent
)
public:
ServiceQueueEventSet^ Add(
    ServiceQueueEvent^ anEvent
)
member Add : 
        anEvent:ServiceQueueEvent -> ServiceQueueEventSet
public function Add(
    anEvent : ServiceQueueEvent
) : ServiceQueueEventSet

Parámetros

Valor devuelto

Tipo: Microsoft.SqlServer.Management.Smo.ServiceQueueEventSet
A ServiceQueueEventSet that represents the event set.

Ejemplos

Controlar eventos SMO

Vea también

Referencia

ServiceQueueEventSet Clase

Sobrecarga de Add

Espacio de nombres Microsoft.SqlServer.Management.Smo