Export (0) Print
Expand All
Expand Minimize

Server.CompareUrn Method

Compares two URNS.

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

'Declaration
Public Function CompareUrn ( _
	urn1 As Urn, _
	urn2 As Urn _
) As Integer
'Usage
Dim instance As Server 
Dim urn1 As Urn 
Dim urn2 As Urn 
Dim returnValue As Integer 

returnValue = instance.CompareUrn(urn1, _
	urn2)

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

ADD
Show:
© 2014 Microsoft