BitwiseOr-Operator
Creates an object event set by performing a bitwise OR operation on two ObjectEvent objects.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Shared Operator Or ( _
eventLeft As ObjectEvent, _
eventRight As ObjectEvent _
) As ObjectEventSet
'Usage
Dim eventLeft As ObjectEvent
Dim eventRight As ObjectEvent
Dim returnValue As ObjectEventSet
returnValue = (eventLeft Or eventRight)
public static ObjectEventSet operator |(
ObjectEvent eventLeft,
ObjectEvent eventRight
)
public:
static ObjectEventSet^ operator |(
ObjectEvent^ eventLeft,
ObjectEvent^ eventRight
)
static let inline (|||)
eventLeft:ObjectEvent *
eventRight:ObjectEvent : ObjectEventSet
JScript unterstützt die Verwendung überladener Operatoren, aber nicht die Deklaration neuer Operatoren.
Parameter
- eventLeft
Typ: Microsoft.SqlServer.Management.Smo. . :: . .ObjectEvent
An ObjectEvent object that specifies the object events.
- eventRight
Typ: Microsoft.SqlServer.Management.Smo. . :: . .ObjectEvent
An ObjectEvent object that specifies the object events.
Rückgabewert
Typ: Microsoft.SqlServer.Management.Smo. . :: . .ObjectEventSet
An ObjectEventSet object value that specifies a set of object events.