Context.CurrentServerID Property
Gets the server identifier (server\instance) for the current session.
Пространство имен: Microsoft.AnalysisServices.AdomdServer
Сборка: msmgdsrv (in msmgdsrv.dll)
Синтаксис
'Декларация
<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
Значение свойства
A string that contains the server identifier.
Синхронизация потоков
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.
Платформы
Платформы разработки
Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.
Целевые платформы
Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.
См. также
Справочник
Context Class
Context Members
Microsoft.AnalysisServices.AdomdServer Namespace