Metodo CompareUrn
Confronta due URN.
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
Public Function CompareUrn ( _
urn1 As Urn, _
urn2 As Urn _
) As Integer
'Utilizzo
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
Parametri
- urn1
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .Urn
Urn
- urn2
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .Urn
Urn
Valore restituito
Tipo: System. . :: . .Int32
Valore System.Int32 pari a 0 quando i valori URN sono correlati allo stesso oggetto di SQL Server e -1 quando non sono correlati allo stesso oggetto.