Partager via


Opérateur NameKey.Inequality (Object, NameKey)

Determines whether the specified Object is different than the object represented by the specified NameKey.

Espace de noms :  Microsoft.SqlServer.Management.IntegrationServices
Assembly :  Microsoft.SqlServer.Management.IntegrationServices (en Microsoft.SqlServer.Management.IntegrationServices.dll)

Syntaxe

'Déclaration
Public Shared Operator <> ( _
    obj As Object, _
    rightOperand As NameKey _
) As Boolean
'Utilisation
Dim obj As Object 
Dim rightOperand As NameKey 
Dim returnValue As Boolean 

returnValue = (obj <> rightOperand)
public static bool operator !=(
    Object obj,
    NameKey rightOperand
)
public:
static bool operator !=(
    Object^ obj, 
    NameKey^ rightOperand
)
static let inline(<>)
        obj:Object * 
        rightOperand:NameKey  : bool
JScript prend en charge l'utilisation d'opérateurs surchargés, mais pas la déclaration de nouveaux opérateurs.

Paramètres

  • obj
    Type : System.Object
    An Object that specifies the first object to compare.

Valeur de retour

Type : System.Boolean
True if the two objects are different; otherwise, false.

Voir aussi

Référence

NameKey Classe

Surcharge Inequality

Espace de noms Microsoft.SqlServer.Management.IntegrationServices