Click or drag to resize

Database Constructor (String)

Creates a database instance with the given name. Internally it may be operating on the same underlying data as another instance.

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0125
Syntax
C#
public Database(
	string name
)

Parameters

name
Type: SystemString
The name of the database

Return Value

Type: 
The instantiated database object
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown if name is null
ArgumentExceptionname contains invalid characters
LiteCoreExceptionAn error occurred during LiteCore interop
See Also