Compartilhar via


Operador BitwiseOr

Creates a server event set by performing a bitwise OR operation on two ServerDdlTriggerEvent objects.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SqlEnum (em Microsoft.SqlServer.SqlEnum.dll)

Sintaxe

'Declaração
Public Shared Operator Or ( _
    eventLeft As ServerDdlTriggerEvent, _
    eventRight As ServerDdlTriggerEvent _
) As ServerDdlTriggerEventSet
'Uso
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 dá suporte ao uso de operadores sobrecarregados, mas não à declaração de operadores novos.

Parâmetros

Valor de retorno

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