SqlInstallationHelperDatabaseExists Method |
Returns true if database exists.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 12.0.0
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