SqlInstallationHelper.DatabaseExists Method |
Returns true if database exists.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax 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:
BooleanSee Also