共用方式為


Server.CompareUrn(Urn, Urn) Method

Definition

Compares two Urn's, taking into account the collations on the server

public int CompareUrn (Microsoft.SqlServer.Management.Sdk.Sfc.Urn urn1, Microsoft.SqlServer.Management.Sdk.Sfc.Urn urn2);
member this.CompareUrn : Microsoft.SqlServer.Management.Sdk.Sfc.Urn * Microsoft.SqlServer.Management.Sdk.Sfc.Urn -> int
Public Function CompareUrn (urn1 As Urn, urn2 As Urn) As Integer

Parameters

urn1
Urn
urn2
Urn

Returns

Applies to