次の方法で共有


ServerInstanceName プロパティ

キーに関連付けられたサーバー インスタンスの名前を取得します。

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

構文

'宣言
Public ReadOnly Property ServerInstanceName As String
    Get
'使用
Dim instance As DeployedDac..::..Key
Dim value As String

value = instance.ServerInstanceName
public string ServerInstanceName { get; }
public:
property String^ ServerInstanceName {
    String^ get ();
}
member ServerInstanceName : string
function get ServerInstanceName () : String

プロパティ値

型: System. . :: . .String
キーに関連付けられたサーバー インスタンスの名前を示す String 値です。