Opérateur Equality

Tests equality between two Urn 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 = ( _
    u1 As Urn, _
    u2 As Urn _
) As Boolean
'Utilisation
Dim u1 As Urn
Dim u2 As Urn
Dim returnValue As Boolean

returnValue = (u1 = u2)
public static bool operator ==(
    Urn u1,
    Urn u2
)
public:
static bool operator ==(
    Urn^ u1, 
    Urn^ u2
)
static let inline (=)
        u1:Urn * 
        u2:Urn  : 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
Returns True if the objects are equal, otherwise False.