Urn.Equality Operator
Tests equality between two Urn objects. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
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 supports the use of overloaded operators, but not the declaration of new ones.
Parameters
- u1
Type: Microsoft.SqlServer.Management.Sdk.Sfc.Urn
An Urn object to compare.
- u2
Type: Microsoft.SqlServer.Management.Sdk.Sfc.Urn
An Urn object to compare.
Return Value
Type: System.Boolean
Returns True if the objects are equal, otherwise False.