Udostępnij przez


Operator RegisteredServersStore.Key.Inequality (RegisteredServersStore.Key, RegisteredServersStore.Key)

Określa, czy obiekty są identyfikowane przez dwa RegisteredServersStore.Key obiekty są różne.

Przestrzeń nazw:  Microsoft.SqlServer.Management.RegisteredServers
Zestaw:  Microsoft.SqlServer.Management.RegisteredServers (w Microsoft.SqlServer.Management.RegisteredServers.dll)

Składnia

'Deklaracja
Public Shared Operator <> ( _
    leftOperand As RegisteredServersStore..::..Key, _
    rightOperand As RegisteredServersStore..::..Key _
) As Boolean
'Użycie
Dim leftOperand As RegisteredServersStore..::..Key
Dim rightOperand As RegisteredServersStore..::..Key
Dim returnValue As Boolean

returnValue = (leftOperand <> rightOperand)
public static bool operator !=(
    RegisteredServersStore..::..Key leftOperand,
    RegisteredServersStore..::..Key rightOperand
)
public:
static bool operator !=(
    RegisteredServersStore..::..Key^ leftOperand, 
    RegisteredServersStore..::..Key^ rightOperand
)
static let inline (<>)
        leftOperand:RegisteredServersStore..::..Key * 
        rightOperand:RegisteredServersStore..::..Key  : bool
Język JScript obsługuje używanie przeciążonych operatorów, ale nie obsługuje deklarowania nowych.

Parametry

Wartość zwracana

Typ: System.Boolean
A Boolean wartość, która jest true Jeśli obiekty są różne, w przeciwnym razie false.