Partager via


Opérateur Inequality

Determines whether two objects are unequal by performing an inequality operation on two Property objects. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.

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

Syntaxe

'Déclaration
Public Shared Operator <> ( _
    prop1 As SfcProperty, _
    prop2 As SfcProperty _
) As Boolean
'Utilisation
Dim prop1 As SfcProperty
Dim prop2 As SfcProperty
Dim returnValue As Boolean

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

Paramètres

Valeur de retour

Type : System. . :: . .Boolean
true if the two specified objects are unequal; otherwise, false.