DatabaseFactoryDeleteDatabase Method |
Deletes underlying data for a given database given the database name and directory
(from
Directory). Useful for deleting a database
that cannot be otherwise opened (e.g. encryption key forgotten) but
Delete is preferred. A
null directory will check
the library default directory for the platform.
Namespace:
Couchbase.Lite
Assembly:
Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0033
Syntax public static void DeleteDatabase(
string name,
string directory
)
Parameters
- name
- Type: SystemString
The name of the database to delete - directory
- Type: SystemString
The directory where the database is located
Exceptions See Also