Method IsDatabaseNameValid
IsDatabaseNameValid(string, out string)
Checks whether a given database name is valid on this server.
Parameters
databaseName
stringThe database name.
message
stringAn error message if the database name is not valid.
Returns
- bool
True if the database name is valid; otherwise, false.