Share via


ServiceQueueEvent.BitwiseOr-Operator

Creates a service queue event set by performing a bitwise OR operation on two ServiceQueueEvent objects.

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

Syntax

'Declaration
Public Shared Operator Or ( _
    eventLeft As ServiceQueueEvent, _
    eventRight As ServiceQueueEvent _
) As ServiceQueueEventSet
'Usage
Dim eventLeft As ServiceQueueEvent 
Dim eventRight As ServiceQueueEvent 
Dim returnValue As ServiceQueueEventSet 

returnValue = (eventLeft Or eventRight)
public static ServiceQueueEventSet operator |(
    ServiceQueueEvent eventLeft,
    ServiceQueueEvent eventRight
)
public:
static ServiceQueueEventSet^ operator |(
    ServiceQueueEvent^ eventLeft, 
    ServiceQueueEvent^ eventRight
)
static let inline(|||)
        eventLeft:ServiceQueueEvent * 
        eventRight:ServiceQueueEvent  : ServiceQueueEventSet
JScript unterstützt die Verwendung überladener Operatoren, aber nicht die Deklaration neuer Operatoren.

Parameter

Rückgabewert

Typ: Microsoft.SqlServer.Management.Smo.ServiceQueueEventSet
A ServiceQueueEventSet object value that specifies a set of service queue events.

Beispiele

Behandeln von SMO-Ereignissen

Siehe auch

Verweis

ServiceQueueEvent Klasse

Microsoft.SqlServer.Management.Smo-Namespace