共用方式為


Urn.Equality 運算子

Tests equality between two Urn objects. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。

命名空間:  Microsoft.SqlServer.Management.Sdk.Sfc
組件:  Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

語法

'宣告
Public Shared Operator = ( _
    u1 As Urn, _
    u2 As Urn _
) As Boolean
'用途
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 支援多載運算子的使用,但不支援新運算子的宣告。

參數

傳回值

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

請參閱

參考

Urn 類別

Microsoft.SqlServer.Management.Sdk.Sfc 命名空間