Checks whether a database of the given name exists in the given directory or not. If a
null directory is passed then the default directory is checked
Namespace:
Couchbase.Lite
Assembly:
Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0713
Syntax public static bool Exists(
string name,
string directory
)
Parameters
- name
- Type: SystemString
The database name - directory
- Type: SystemString
The directory where the database is located
Return Value
Type:
Booleantrue if the database exists in the directory, otherwise
falseExceptions See Also