Compartir a través de


BitwiseOr Operador

Creates a view event set by performing a bitwise OR operation on two ViewEvent 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 ViewEvent, _
    eventRight As ViewEvent _
) As ViewEventSet
'Uso
Dim eventLeft As ViewEvent
Dim eventRight As ViewEvent
Dim returnValue As ViewEventSet

returnValue = (eventLeft Or eventRight)
public static ViewEventSet operator |(
    ViewEvent eventLeft,
    ViewEvent eventRight
)
public:
static ViewEventSet^ operator |(
    ViewEvent^ eventLeft, 
    ViewEvent^ eventRight
)
static let inline (|||)
        eventLeft:ViewEvent * 
        eventRight:ViewEvent  : ViewEventSet
JScript admite el uso de operadores sobrecargados, pero no la declaración de otros nuevos.

Parámetros

Valor devuelto

Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ViewEventSet
A ViewEventSet object value that specifies a set of view events.