Click or drag to resize

ManagerGetDatabase Method

Returns the Database with the given name. If the Database does not already exist, it is created.

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

Parameters

name
Type: SystemString
Name.

Return Value

Type: Database
The database.
Exceptions
ExceptionCondition
CouchbaseLiteExceptionThrown if an issue occurs while gettings or createing the Database.
See Also