C# Класс EnterpriseWebLibrary.Configuration.InstallationConfiguration

The elements of installation configuration that the standard library understands.
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
getDatabaseInfo DatabaseInfo

Открытые методы

Метод Описание
GetFullNameFromSystemAndInstallationNames ( string systemName, string installationName ) : string

Gets the full name of the given system and installation. For example, 'Red Stapler Information System - Live'.

GetFullShortNameFromSystemAndInstallationNames ( string systemShortName, string installationShortName ) : string

Gets the full short name of the given system and installation. For example, 'RsisLive'.

GetSecondaryDatabaseInfo ( string name ) : DatabaseInfo

Gets a database information object corresponding to the secondary database for this configuration with the specified name.

InstallationConfiguration ( bool machineIsStandbyServer, string installationPath, bool isDevelopmentInstallation ) : System

Creates a new installation configuration.

InstalledInstallationExists ( string installationPath ) : bool

Returns true if an installed installation exists at the specified path.

Приватные методы

Метод Описание
getDatabaseInfo ( string secondaryDatabaseName, Database database ) : DatabaseInfo

Описание методов

GetFullNameFromSystemAndInstallationNames() публичный статический Метод

Gets the full name of the given system and installation. For example, 'Red Stapler Information System - Live'.
public static GetFullNameFromSystemAndInstallationNames ( string systemName, string installationName ) : string
systemName string
installationName string
Результат string

GetFullShortNameFromSystemAndInstallationNames() публичный статический Метод

Gets the full short name of the given system and installation. For example, 'RsisLive'.
public static GetFullShortNameFromSystemAndInstallationNames ( string systemShortName, string installationShortName ) : string
systemShortName string
installationShortName string
Результат string

GetSecondaryDatabaseInfo() публичный Метод

Gets a database information object corresponding to the secondary database for this configuration with the specified name.
public GetSecondaryDatabaseInfo ( string name ) : DatabaseInfo
name string
Результат DatabaseInfo

InstallationConfiguration() публичный Метод

Creates a new installation configuration.
public InstallationConfiguration ( bool machineIsStandbyServer, string installationPath, bool isDevelopmentInstallation ) : System
machineIsStandbyServer bool
installationPath string
isDevelopmentInstallation bool
Результат System

InstalledInstallationExists() публичный статический Метод

Returns true if an installed installation exists at the specified path.
public static InstalledInstallationExists ( string installationPath ) : bool
installationPath string
Результат bool