Click or drag to resize

DatabaseExists Method

Returns whether or not a database with the given name exists in the given directory

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0520
Syntax
C#
public static bool Exists(
	string name,
	string directory
)

Parameters

name
Type: SystemString
The name of the database to search for
directory
Type: SystemString
The directory to search in

Return Value

Type: Boolean
true if the database exists in the directory, otherwise false
See Also