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