Context.CurrentServerID Property

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

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

Syntax

'Declaration
<SuppressMessageAttribute("Microsoft.Naming", "CA1706:ShortAcronymsShouldBeUppercase")> _
Public Shared ReadOnly Property CurrentServerID As String
[SuppressMessageAttribute("Microsoft.Naming", "CA1706:ShortAcronymsShouldBeUppercase")] 
public static string CurrentServerID { get; }
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1706:ShortAcronymsShouldBeUppercase")] 
public:
static property String^ CurrentServerID {
    String^ get ();
}
/** @property */
public static String get_CurrentServerID ()
public static function get CurrentServerID () : String

Property Value

A string that contains the server identifier.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

Context Class
Context Members
Microsoft.AnalysisServices.AdomdServer Namespace