Operador BitwiseOr
Creates a server event set by performing a bitwise OR operation on two ServerEvent objects.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Shared Operator Or ( _
eventLeft As ServerEvent, _
eventRight As ServerEvent _
) As ServerEventSet
'Uso
Dim eventLeft As ServerEvent
Dim eventRight As ServerEvent
Dim returnValue As ServerEventSet
returnValue = (eventLeft Or eventRight)
public static ServerEventSet operator |(
ServerEvent eventLeft,
ServerEvent eventRight
)
public:
static ServerEventSet^ operator |(
ServerEvent^ eventLeft,
ServerEvent^ eventRight
)
static let inline (|||)
eventLeft:ServerEvent *
eventRight:ServerEvent : ServerEventSet
JScript dá suporte ao uso de operadores sobrecarregados, mas não à declaração de operadores novos.
Parâmetros
- eventLeft
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ServerEvent
A ServerEvent object that specifies the server events.
- eventRight
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ServerEvent
A ServerEvent object that specifies the server events.
Valor de retorno
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ServerEventSet
A ServerEventSet object value that specifies a set of server events.