Méthode CompareUrn
Compare deux URN.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Function CompareUrn ( _
urn1 As Urn, _
urn2 As Urn _
) As Integer
'Utilisation
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
Paramètres
- urn1
Type : Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .Urn
Urn
- urn2
Type : Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .Urn
Urn
Valeur de retour
Type : System. . :: . .Int32
Valeur System.Int32 de 0 lorsque les valeurs URN sont en rapport avec le même objet SQL Server et de -1 dans le cas contraire.