Export (0) Print
Expand All

Server.CompareUrn Method

Compares two URNS.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public function CompareUrn(
	urn1 : Urn, 
	urn2 : Urn
) : int

Return Value

Type: Int32
A System.Int32 value that is 0 when the URN values relate to the same SQL Server object, and -1 when they do not relate to the same object.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft