共用方式為


CurrentServerID 屬性

Gets the server identifier (server\instance) for the current session.

命名空間:  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
A string that contains the server identifier.