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..