Operador Inequality

Creates a server event set by comparing on two ServerTraceEvent objects.

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

Sintaxe

'Declaração
Public Shared Operator <> ( _
    a As ServerTraceEvent, _
    b As ServerTraceEvent _
) As Boolean
'Uso
Dim a As ServerTraceEvent
Dim b As ServerTraceEvent
Dim returnValue As Boolean

returnValue = (a <> b)
public static bool operator !=(
    ServerTraceEvent a,
    ServerTraceEvent b
)
public:
static bool operator !=(
    ServerTraceEvent^ a, 
    ServerTraceEvent^ b
)
static let inline (<>)
        a:ServerTraceEvent * 
        b:ServerTraceEvent  : bool
JScript dá suporte ao uso de operadores sobrecarregados, mas não à declaração de operadores novos.

Parâmetros

Valor de retorno

Tipo: System. . :: . .Boolean
A ServerTraceEventSet object value that specifies a set of server trace events that are not in both ServerTraceEvent objects.

Comentários

Só há suporte para esse namespace, classe ou membro na versão 2.0 do Microsoft .NET Framework.