Share via


IAlienObject.GetUrn 方法

获取对象的统一资源名称。不要在您的代码中直接引用此成员。它支持 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
一个表示对象的统一资源名称的 Urn

实现

IAlienObject. . :: . .GetUrn() () () ()