SqlInstallationHelperInstallDatabase Method |
Performs the database installation.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 11.0.0
Syntax public static bool InstallDatabase(
string connectionString,
string scriptsFolder,
string dbObjectsErrMessage,
string defaultDataErrMessage,
SqlInstallationHelperLogMessage log
)
Parameters
- connectionString
- Type: SystemString
Connection string to the database - scriptsFolder
- Type: SystemString
Folder with the database scripts - dbObjectsErrMessage
- Type: SystemString
Error message when creation of DB objects fails - defaultDataErrMessage
- Type: SystemString
Error message when creation data fails - log
- Type: CMS.DataEngineSqlInstallationHelperLogMessage
Method for logging messages
Return Value
Type:
BooleanSee Also