共用方式為


SfcReferenceAttribute.GetUrn 方法

Gets the Urn reference from the specified instance. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。

命名空間:  Microsoft.SqlServer.Management.Sdk.Sfc.Metadata
組件:  Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

語法

'宣告
Public Function GetUrn ( _
    instance As Object _
) As Urn
'用途
Dim instance As SfcReferenceAttribute 
Dim instance As Object 
Dim returnValue As Urn 

returnValue = instance.GetUrn(instance)
public Urn GetUrn(
    Object instance
)
public:
Urn^ GetUrn(
    Object^ instance
)
member GetUrn : 
        instance:Object -> Urn
public function GetUrn(
    instance : Object
) : Urn

參數

傳回值

型別:Microsoft.SqlServer.Management.Sdk.Sfc.Urn
The Urn reference or < languageKeyword>null</languageKeyword> if the attribute does not have a path expression defined.

請參閱

參考

SfcReferenceAttribute 類別

Microsoft.SqlServer.Management.Sdk.Sfc.Metadata 命名空間