Dela via


TableEvent.BitwiseOr Operator

Creates a table event set by performing a bitwise OR operation on two TableEvent objects.

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

Syntax

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

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

Parameters

Return Value

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