Método CompareUrn
Compara dois URNS.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Function CompareUrn ( _
urn1 As Urn, _
urn2 As Urn _
) As Integer
'Uso
Dim instance As Server
Dim urn1 As Urn
Dim urn2 As Urn
Dim returnValue As Integer
returnValue = instance.CompareUrn(urn1, _
urn2)
public int CompareUrn(
Urn urn1,
Urn urn2
)
public:
int CompareUrn(
Urn^ urn1,
Urn^ urn2
)
member CompareUrn :
urn1:Urn *
urn2:Urn -> int
public function CompareUrn(
urn1 : Urn,
urn2 : Urn
) : int
Parâmetros
- urn1
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .Urn
Urn
- urn2
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .Urn
Urn
Valor de retorno
Tipo: System. . :: . .Int32
Um valor de System.Int32 que é 0 quando os valores de URN são relativos ao mesmo objeto SQL Server, e -1 quando eles não são relativos ao mesmo objeto.