Delen via


UserDefinedFunctionEvent.BitwiseOr Operator

Creates a user-defined function event set by performing a bitwise OR operation on two UserDefinedFunctionEvent objects.

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

Syntax

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

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

Parameters

Return Value

Type: Microsoft.SqlServer.Management.Smo.UserDefinedFunctionEventSet
A UserDefinedFunctionEventSet object value that specifies a set of user-defined function events.