Share via


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

Return Value

Type: Microsoft.SqlServer.Management.Smo.ServerDdlTriggerEventSet
A ServerDdlTriggerEventSet object value that specifies a set of server DDL events.

Examples

Handling SMO Events

See Also

Reference

ServerDdlTriggerEvent Class

Microsoft.SqlServer.Management.Smo Namespace