Interface IServerEnvironment
Окружение, в котором работает сервер.
Namespace: Lers
Assembly: Lers.Server.System.dll
Syntax
public interface IServerEnvironment
Properties
BuildNumber
Номер сборки сервера.
Declaration
int BuildNumber { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
DbName
Имя БД.
Declaration
string DbName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
DbServerInfo
Информация о сервере БД.
Declaration
string DbServerInfo { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
DbServerVersion
Версия сервера БД.
Declaration
string DbServerVersion { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
DisplayVersion
Отображаемое название версии.
Declaration
string DisplayVersion { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
FullDisplayVersion
Полная отображаемая версия, включая номер сборки.
Declaration
string FullDisplayVersion { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
InContainer
Определяет, что сервер запущен в контейнере.
Declaration
static bool InContainer { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
InstanceId
Уникальный идентификатор этого экземпляра.
Declaration
static Guid InstanceId { get; }
Property Value
| Type | Description |
|---|---|
| Guid |
Now
Текущее время сервера.
Declaration
static DateTime Now { get; }
Property Value
| Type | Description |
|---|---|
| DateTime |
SqlServer
Информация об SQL сервере.
Declaration
SqlServerInfo SqlServer { get; }
Property Value
| Type | Description |
|---|---|
| SqlServerInfo |
StartDateTime
Дата и время запуска сервера.
Declaration
static DateTime StartDateTime { get; }
Property Value
| Type | Description |
|---|---|
| DateTime |
Today
Текущая дата сервера.
Declaration
static DateTime Today { get; }
Property Value
| Type | Description |
|---|---|
| DateTime |
Version
Полная четырёхкомпонентная версия сервера.
Declaration
Version Version { get; }
Property Value
| Type | Description |
|---|---|
| Version |