Method IsCollectionNameValid
IsCollectionNameValid(string, out string)
Checks whether a given collection name is valid in this database.
public virtual bool IsCollectionNameValid(string collectionName, out string message)
Parameters
collectionNamestringThe collection name.
messagestringAn error message if the collection name is not valid.
Returns
- bool
True if the collection name is valid; otherwise, false.