Freigeben über


ServiceQueueEvent.Add Method

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 (in microsoft.sqlserver.smo.dll)

Syntax

'Declaration
Public Shared Function Add ( _
    eventLeft As ServiceQueueEvent, _
    eventRight As ServiceQueueEvent _
) As ServiceQueueEventSet
public static ServiceQueueEventSet Add (
    ServiceQueueEvent eventLeft,
    ServiceQueueEvent eventRight
)
public:
static ServiceQueueEventSet^ Add (
    ServiceQueueEvent^ eventLeft, 
    ServiceQueueEvent^ eventRight
)
public static ServiceQueueEventSet Add (
    ServiceQueueEvent eventLeft, 
    ServiceQueueEvent eventRight
)
public static function Add (
    eventLeft : ServiceQueueEvent, 
    eventRight : ServiceQueueEvent
) : ServiceQueueEventSet

Parameter

  • eventRight
    A ServiceQueueEvent object that specifies another Service Broker queue event.

Rückgabewert

A ServiceQueueEventSet object value that specifies a set of Service Broker queue events.

Hinweise

Aktualisierter Text:

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.

Beispiel

How to: Register Event Handlers and Subscribe to Event Handling in Visual Basic .NET

Threadsicherheit

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

ServiceQueueEvent Class
ServiceQueueEvent Members
Microsoft.SqlServer.Management.Smo Namespace

Andere Ressourcen

Handling SMO Events