We recommend using Visual Studio 2017

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)

Urn IAlienObject.GetUrn()

Return Value

Type: Microsoft.SqlServer.Management.Sdk.Sfc.Urn
A Urn which represents the URN of the object..

Implements

IAlienObject.GetUrn()
Show: