Condividi tramite


Operatore BitwiseOr

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SqlEnum (in Microsoft.SqlServer.SqlEnum.dll)

Sintassi

'Dichiarazione
Public Shared Operator Or ( _
    eventLeft As ServerDdlTriggerEvent, _
    eventRight As ServerDdlTriggerEvent _
) As ServerDdlTriggerEventSet
'Utilizzo
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 supporta l'utilizzo di operatori di overload , ma non la dichiarazione di nuovi operatori.

Parametri

Valore restituito

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