Add Método (ServiceQueueEventSet, ServiceQueueEvent)
Returns a Service Broker queue event set after adding a new queue event to the specified set.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Shared Function Add ( _
eventSet As ServiceQueueEventSet, _
anEvent As ServiceQueueEvent _
) As ServiceQueueEventSet
'Uso
Dim eventSet As ServiceQueueEventSet
Dim anEvent As ServiceQueueEvent
Dim returnValue As ServiceQueueEventSet
returnValue = ServiceQueueEventSet.Add(eventSet, _
anEvent)
public static ServiceQueueEventSet Add(
ServiceQueueEventSet eventSet,
ServiceQueueEvent anEvent
)
public:
static ServiceQueueEventSet^ Add(
ServiceQueueEventSet^ eventSet,
ServiceQueueEvent^ anEvent
)
static member Add :
eventSet:ServiceQueueEventSet *
anEvent:ServiceQueueEvent -> ServiceQueueEventSet
public static function Add(
eventSet : ServiceQueueEventSet,
anEvent : ServiceQueueEvent
) : ServiceQueueEventSet
Parámetros
- eventSet
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ServiceQueueEventSet
A ServiceQueueEventSet object that specifies the event set to which the event is added.
- anEvent
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ServiceQueueEvent
A ServiceQueueEvent object that specifies the event that is added to the event set.
Valor devuelto
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ServiceQueueEventSet
A ServiceQueueEventSet that represents the event set after the new event is added.
Vea también