Compartilhar via


Operador BitwiseOr

Creates a new database ddl trigger event set by performing a BitwiseOr operation on two DatabaseDdlTriggerEvent objects.

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

Sintaxe

'Declaração
Public Shared Operator Or ( _
    eventLeft As DatabaseDdlTriggerEvent, _
    eventRight As DatabaseDdlTriggerEvent _
) As DatabaseDdlTriggerEventSet
'Uso
Dim eventLeft As DatabaseDdlTriggerEvent
Dim eventRight As DatabaseDdlTriggerEvent
Dim returnValue As DatabaseDdlTriggerEventSet

returnValue = (eventLeft Or eventRight)
public static DatabaseDdlTriggerEventSet operator |(
    DatabaseDdlTriggerEvent eventLeft,
    DatabaseDdlTriggerEvent eventRight
)
public:
static DatabaseDdlTriggerEventSet^ operator |(
    DatabaseDdlTriggerEvent^ eventLeft, 
    DatabaseDdlTriggerEvent^ eventRight
)
static let inline (|||)
        eventLeft:DatabaseDdlTriggerEvent * 
        eventRight:DatabaseDdlTriggerEvent  : DatabaseDdlTriggerEventSet
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. . :: . .DatabaseDdlTriggerEventSet
A DatabaseDdlTriggerEventSet object value that specifies a set of database ddl trigger events.