Udostępnij przez


Właściwość Context.CurrentServerID

Pobiera identyfikator serwera (server\wystąpienie) dla bieżącej sesja.

Przestrzeń nazw:  Microsoft.AnalysisServices.AdomdServer
Zestaw:  msmgdsrv (w msmgdsrv.dll)

Składnia

'Deklaracja
Public Shared ReadOnly Property CurrentServerID As String
    Get
'Użycie
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

Wartość właściwości

Typ: System.String
A ciąg zawiera identyfikator serwera.