SqlSmoObject.IAlienObject.GetUrn Method
Gets the Unified Resource Name (URN) 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)
Syntax
'Declaration
Private Function GetUrn As Urn Implements IAlienObject.GetUrn
'Usage
Dim instance As SqlSmoObject
Dim returnValue As Urn
returnValue = CType(instance, IAlienObject).GetUrn()
Urn IAlienObject.GetUrn()
private:
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 URN of the object..