SfcReferenceAttribute.GetUrn メソッド

指定されたインスタンスから URN 参照を取得します。 このメンバーをコード内で直接参照しないでください。このメンバーは、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

パラメーター

  • instance
    型: System.Object
    URN を取得するインスタンスです。

戻り値

型: Microsoft.SqlServer.Management.Sdk.Sfc.Urn
URN 参照です。属性にパス式が定義されていない場合は null を返します。

関連項目

参照

SfcReferenceAttribute クラス

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