共用方式為


Context.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.

請參閱

參考

Context 類別

Microsoft.AnalysisServices.AdomdServer 命名空間