C# Class EnterpriseWebLibrary.Configuration.InstallationConfiguration

The elements of installation configuration that the standard library understands.
Mostra file Open project: enduracode/enterprise-web-library Class Usage Examples

Private Properties

Property Type Description
getDatabaseInfo DatabaseInfo

Public Methods

Method Description
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.

Private Methods

Method Description
getDatabaseInfo ( string secondaryDatabaseName, Database database ) : DatabaseInfo

Method Details

GetFullNameFromSystemAndInstallationNames() public static method

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
return string

GetFullShortNameFromSystemAndInstallationNames() public static method

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
return string

GetSecondaryDatabaseInfo() public method

Gets a database information object corresponding to the secondary database for this configuration with the specified name.
public GetSecondaryDatabaseInfo ( string name ) : DatabaseInfo
name string
return DatabaseInfo

InstallationConfiguration() public method

Creates a new installation configuration.
public InstallationConfiguration ( bool machineIsStandbyServer, string installationPath, bool isDevelopmentInstallation ) : System
machineIsStandbyServer bool
installationPath string
isDevelopmentInstallation bool
return System

InstalledInstallationExists() public static method

Returns true if an installed installation exists at the specified path.
public static InstalledInstallationExists ( string installationPath ) : bool
installationPath string
return bool