次の方法で共有


ManagedInstance.ServerUrn プロパティ

サーバー インスタンスの URN (Uniform Resource Name) を取得します。

名前空間:  Microsoft.SqlServer.Management.Utility
アセンブリ:  Microsoft.SqlServer.Management.Utility (Microsoft.SqlServer.Management.Utility.dll)

構文

'宣言
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property ServerUrn As String 
    Get
'使用
Dim instance As ManagedInstance 
Dim value As String 

value = instance.ServerUrn
[SfcPropertyAttribute(SfcPropertyFlags.Data)]
public string ServerUrn { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Data)]
public:
property String^ ServerUrn {
    String^ get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Data)>]
member ServerUrn : string
function get ServerUrn () : String

プロパティ値

型: System.String
サーバーの URN を含む String です。

関連項目

参照

ManagedInstance クラス

Microsoft.SqlServer.Management.Utility 名前空間