Click or drag to resize
SqlInstallationHelperCreateDatabase Method (SQLServerAuthenticationModeEnum, String, String, String, String)
Creates database based on given info.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax
C#
public static void CreateDatabase(
	SQLServerAuthenticationModeEnum authenticationType,
	string serverName,
	string database,
	string userName,
	string pass
)

Parameters

authenticationType
Type: CMS.DataEngineSQLServerAuthenticationModeEnum
Authentication type
serverName
Type: SystemString
Server
database
Type: SystemString
Database name
userName
Type: SystemString
SQL user name
pass
Type: SystemString
SQL password
See Also