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