Click or drag to resize

DatabaseCopy Method

Copies a database from the given path to be used as the database with the given name and configuration

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0364
Syntax
C#
public static void Copy(
	string path,
	string name,
	DatabaseConfiguration config
)

Parameters

path
Type: SystemString
The path (of the .cblite2 folder) to copy
name
Type: SystemString
The name of the database to be used when opening
config
Type: Couchbase.LiteDatabaseConfiguration
The config to use when copying (for specifying directory, etc)
See Also