次の方法で共有


CurrentServerID プロパティ

現在のセッションについて、サーバーの識別子 (server\instance) を取得します。

名前空間:  Microsoft.AnalysisServices.AdomdServer
アセンブリ:  msmgdsrv (msmgdsrv.dll)

構文

'宣言
Public Shared ReadOnly Property CurrentServerID As String
    Get
'使用
Dim value As String

value = Context.CurrentServerID
public static string CurrentServerID { get; }
public:
static property String^ CurrentServerID {
    String^ get ();
}
static member CurrentServerID : string
static function get CurrentServerID () : String

プロパティ値

型: System. . :: . .String
サーバーの識別子を表す string です。