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

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

Parameters

databaseName
Type: System.String
Database name
connectionString
Type: System.String
Connection string to DB server

Return Value

Type: Boolean
See Also