Operador ServerTraceEvent.BitwiseOr
Creates a server trace event set by performing a bitwise OR operation on two ServerTraceEvent objects.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Shared Operator Or ( _
eventLeft As ServerTraceEvent, _
eventRight As ServerTraceEvent _
) As ServerTraceEventSet
'Uso
Dim eventLeft As ServerTraceEvent
Dim eventRight As ServerTraceEvent
Dim returnValue As ServerTraceEventSet
returnValue = (eventLeft Or eventRight)
public static ServerTraceEventSet operator |(
ServerTraceEvent eventLeft,
ServerTraceEvent eventRight
)
public:
static ServerTraceEventSet^ operator |(
ServerTraceEvent^ eventLeft,
ServerTraceEvent^ eventRight
)
static let inline(|||)
eventLeft:ServerTraceEvent *
eventRight:ServerTraceEvent : ServerTraceEventSet
JScript dá suporte ao uso de operadores sobrecarregados, mas não à declaração de operadores novos.
Parâmetros
- eventLeft
Tipo: Microsoft.SqlServer.Management.Smo.ServerTraceEvent
A ServerTraceEvent object that specifies one server trace event.
- eventRight
Tipo: Microsoft.SqlServer.Management.Smo.ServerTraceEvent
A ServerTraceEvent object that specifies the other server trace event.
Valor de retorno
Tipo: Microsoft.SqlServer.Management.Smo.ServerTraceEventSet
A ServerTraceEventSet object value that specifies a set of server trace events.
Comentários
Só há suporte para esse namespace, classe ou membro na versão 2.0 do Microsoft .NET Framework.
Exemplos
Consulte também
Referência
Namespace Microsoft.SqlServer.Management.Smo
Outros recursos
Eventos de rastreamento para uso com notificações de eventos