Compartir a través de


BitwiseOr Operador

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
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 admite el uso de operadores sobrecargados, pero no la declaración de otros nuevos.

Parámetros

Valor devuelto

Tipo: Microsoft.SqlServer.Management.Smo. . :: . .StoredProcedureEventSet
A StoredProcedureEventSet object value that specifies a set of stored procedure events.