SqlSmoObject.IAlienObject.GetUrn 方法

Gets the Unified Resource Name (URN) of the object. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 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()
private:
virtual Urn^ GetUrn() sealed = IAlienObject::GetUrn
private abstract GetUrn : unit -> Urn  
private override GetUrn : unit -> Urn
JScript 支持使用显式接口实现,但不支持声明新显式接口实现。

返回值

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

实现

IAlienObject.GetUrn()

请参阅

参考

SqlSmoObject 类

Microsoft.SqlServer.Management.Smo 命名空间