Method IsDatabaseNameValid
IsDatabaseNameValid(string, out string)
Checks whether a given database name is valid on this server.
public virtual bool IsDatabaseNameValid(string databaseName, out string message)
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.