Click or drag to resize

DatabaseFactoryCreate Method (String)

Creates an IDatabase 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-b0033
Syntax
C#
public static IDatabase Create(
	string name
)

Parameters

name
Type: SystemString
The name of the database

Return Value

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