Dela via


ViewEvent.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 supports the use of overloaded operators, but not the declaration of new ones.

Parameters

Return Value

Type: Microsoft.SqlServer.Management.Smo.ViewEventSet
A ViewEventSet object value that specifies a set of view events.