Freigeben über


Equality-Operator

Tests equality between two Urn objects. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Public Shared Operator = ( _
    u1 As Urn, _
    u2 As Urn _
) As Boolean
'Usage
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 unterstützt die Verwendung überladener Operatoren, aber nicht die Deklaration neuer Operatoren.

Parameter

Rückgabewert

Typ: System. . :: . .Boolean
Returns True if the objects are equal, otherwise False.