Partager via


Opérateur Equality

Determines whether two objects are equal by performing an equality 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 when the two specified objects are equal; otherwise, false.