StoredProcedureEvent.BitwiseOr Operator

Creates a stored procedure event set by performing a bitwise OR operation on two StoredProcedureEvent objects.

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

Syntax

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

returnValue = (eventLeft Or eventRight)
public static StoredProcedureEventSet operator |(
    StoredProcedureEvent eventLeft,
    StoredProcedureEvent eventRight
)
public:
static StoredProcedureEventSet^ operator |(
    StoredProcedureEvent^ eventLeft, 
    StoredProcedureEvent^ eventRight
)
static let inline (|||)
        eventLeft:StoredProcedureEvent * 
        eventRight:StoredProcedureEvent  : StoredProcedureEventSet
JScript supports the use of overloaded operators, but not the declaration of new ones.

Parameters

Return Value

Type: Microsoft.SqlServer.Management.Smo.StoredProcedureEventSet
A StoredProcedureEventSet object value that specifies a set of stored procedure events.