Click or drag to resize
SqlInstallationHelperDatabaseExists Method
Returns true if database exists.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 10.0.0
Syntax
C#
public static bool DatabaseExists(
	string databaseName,
	string connectionString
)

Parameters

databaseName
Type: SystemString
Database name
connectionString
Type: SystemString
Connection string to DB server

Return Value

Type: Boolean
See Also