Compartilhar via


Operador BitwiseOr

Creates a stored procedure event set by performing a bitwise OR operation on two StoredProcedureEvent objects.

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

Sintaxe

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

returnValue = (eventLeft Or eventRight)
public static StoredProcedureEventSet operator |(
    StoredProcedureEvent eventLeft,
    StoredProcedureEvent eventRight
)
public:
static StoredProcedureEventSet^ operator |(
    StoredProcedureEvent^ eventLeft, 
    StoredProcedureEvent^ eventRight
)
static let inline (|||)
        eventLeft:StoredProcedureEvent * 
        eventRight:StoredProcedureEvent  : StoredProcedureEventSet
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. . :: . .StoredProcedureEventSet
A StoredProcedureEventSet object value that specifies a set of stored procedure events.