Condividi tramite


Operatore Inequality (ServerGroup.Key, ServerGroup.Key)

Determines whether the objects identified by two ServerGroup..::..Key objects are different.

Spazio dei nomi  Microsoft.SqlServer.Management.RegisteredServers
Assembly:  Microsoft.SqlServer.Management.RegisteredServers (in Microsoft.SqlServer.Management.RegisteredServers.dll)

Sintassi

'Dichiarazione
Public Shared Operator <> ( _
    leftOperand As ServerGroup..::..Key, _
    rightOperand As ServerGroup..::..Key _
) As Boolean
'Utilizzo
Dim leftOperand As ServerGroup..::..Key
Dim rightOperand As ServerGroup..::..Key
Dim returnValue As Boolean

returnValue = (leftOperand <> rightOperand)
public static bool operator !=(
    ServerGroup..::..Key leftOperand,
    ServerGroup..::..Key rightOperand
)
public:
static bool operator !=(
    ServerGroup..::..Key^ leftOperand, 
    ServerGroup..::..Key^ rightOperand
)
static let inline (<>)
        leftOperand:ServerGroup..::..Key * 
        rightOperand:ServerGroup..::..Key  : bool
JScript supporta l'utilizzo di operatori di overload , ma non la dichiarazione di nuovi operatori.

Parametri

Valore restituito

Tipo: System. . :: . .Boolean
A Boolean value that is true if the objects are different. Otherwise, false.

Osservazioni

  • Questo spazio dei nomi, classe o membro è supportato solo nella versione 2.0 di Microsoft .NET Framework.