Compartir a través de


ServerGroup.Key.Inequality Operador (ServerGroup.Key, ServerGroup.Key)

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

Espacio de nombres:  Microsoft.SqlServer.Management.RegisteredServers
Ensamblado:  Microsoft.SqlServer.Management.RegisteredServers (en Microsoft.SqlServer.Management.RegisteredServers.dll)

Sintaxis

'Declaración
Public Shared Operator <> ( _
    leftOperand As ServerGroup.Key, _
    rightOperand As ServerGroup.Key _
) As Boolean
'Uso
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 admite el uso de operadores sobrecargados, pero no la declaración de otros nuevos.

Parámetros

Valor devuelto

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

Comentarios

  • Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.

Vea también

Referencia

ServerGroup.Key Clase

Sobrecarga de Inequality

Espacio de nombres Microsoft.SqlServer.Management.RegisteredServers