SqlSmoObject.IAlienObject.GetUrn Method

Gets the Unified Resource Name of the object. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

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


Private Function GetUrn As Urn Implements IAlienObject.GetUrn
Dim instance As SqlSmoObject
Dim returnValue As Urn

returnValue = CType(instance, IAlienObject).GetUrn()
Urn IAlienObject.GetUrn()
virtual Urn^ GetUrn() sealed = IAlienObject::GetUrn
private abstract GetUrn : unit -> Urn 
private override GetUrn : unit -> Urn 
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Return Value

Type: Microsoft.SqlServer.Management.Sdk.Sfc.Urn
A Urn which represents the Unified Resource Name of the object..