SqlInstallationHelperDatabaseExists 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: SystemString
Database name - connectionString
- Type: SystemString
Connection string to DB server
Return Value
Type:
BooleanSee Also