Click or drag to resize
SqlInstallationHelperInstallDatabase Method
Performs the database installation.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax
C#
public static bool InstallDatabase(
	string connectionString,
	string scriptsFolder,
	string dbObjectsErrMessage,
	string defaultDataErrMessage,
	SqlInstallationHelperLogMessage log,
	string dbSchema
)

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
dbSchema
Type: SystemString
Name of the schema (all "dbo." and "[dbo]." occurrences are replaced by this schema)

Return Value

Type: Boolean
See Also