DatabaseEvent.BitwiseOr Operator
Creates a database event set by performing a bitwise OR operation on two DatabaseEvent objects.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Shared Operator Or ( _
eventLeft As DatabaseEvent, _
eventRight As DatabaseEvent _
) As DatabaseEventSet
'Usage
Dim eventLeft As DatabaseEvent
Dim eventRight As DatabaseEvent
Dim returnValue As DatabaseEventSet
returnValue = (eventLeft Or eventRight)
public static DatabaseEventSet operator |(
DatabaseEvent eventLeft,
DatabaseEvent eventRight
)
public:
static DatabaseEventSet^ operator |(
DatabaseEvent^ eventLeft,
DatabaseEvent^ eventRight
)
static let inline (|||)
eventLeft:DatabaseEvent *
eventRight:DatabaseEvent : DatabaseEventSet
JScript supports the use of overloaded operators, but not the declaration of new ones.
Parameters
- eventLeft
Type: Microsoft.SqlServer.Management.Smo.DatabaseEvent
A DatabaseEvent object that specifies the database events.
- eventRight
Type: Microsoft.SqlServer.Management.Smo.DatabaseEvent
A DatabaseEvent object that specifies the database events.
Return Value
Type: Microsoft.SqlServer.Management.Smo.DatabaseEventSet
A DatabaseEventSet object value that specifies a set of database events.