Click or drag to resize

Manager Methods

The Manager type exposes the following members.

Methods
  NameDescription
Public methodAllOpenDatabases
Returns all the databases that are open by this manager.
Public methodClose
Releases all resources used by the Manager and closes all its Databases.
Public methodDeleteDatabase
Deletes a database that can no longer be opened by other means (lost password, etc). Note: will only work for databases created with version 1.2 or later.
Public methodForgetDatabase
Removes the given database from the manager, along with any associated replications
Public methodGetDatabase
Returns the Database with the given name. If the Database does not already exist, it is created.
Public methodGetExistingDatabase
Returns the Database with the given name if it exists, otherwise null.
Public methodStatic memberIsValidDatabaseName
Determines if the given name is a valid Database name. Only the following characters are valid: abcdefghijklmnopqrstuvwxyz0123456789_$()+-/
Public methodOpenDatabase
Returns the database with the given name. If the database is not yet open, the options given will be applied; if it's already open, the options are ignored. Multiple calls with the same name will return the same CBLDatabase instance.
Public methodRegisterEncryptionKey Obsolete.
Registers an encryption key for use when a given database is requested via GetDatabase
Public methodReplaceDatabase(String, Stream, Boolean)
Replaces or installs a database from a zipped DB folder structure
Public methodReplaceDatabase(String, Stream, IDictionaryString, Stream) Obsolete.
Replaces or installs a database from a file.
Public methodToString (Overrides ObjectToString.)
Top
See Also