Share via


SqlAssemblyEvent.BitwiseOr Operator

Creates an assembly event set by performing a bitwise OR operation on two ServerEvent objects.

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

Syntax

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

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

Parameters

Return Value

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