Share via


Context.CurrentServerID Property

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

Namespace:  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (in msmgdsrv.dll)

Syntax

'Declaration
Public Shared ReadOnly Property CurrentServerID As String
    Get
'Usage
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

Property Value

Type: System.String
A string that contains the server identifier.