Click or drag to resize

ManagerGetExistingDatabase Method

Returns the Database with the given name if it exists, otherwise null.

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 1.4.1-b107
Syntax
C#
public Database GetExistingDatabase(
	string name
)

Parameters

name
Type: SystemString
The name of the Database to get.

Return Value

Type: Database
The Database with the given name if it exists, otherwise null.
Exceptions
ExceptionCondition
CouchbaseLiteExceptionThrown if an issue occurs while getting the Database.
See Also