Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize

Server::CompareUrn Method (Urn^, Urn^)


Compares two URNS.

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

int CompareUrn(
	Urn^ urn1,
	Urn^ urn2

Return Value

Type: System::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.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft