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: 0.0.0
Syntaxpublic static void Copy(
string path,
string name,
DatabaseConfiguration config
)
Parameters
- path
- Type: System.String
The path (of the .cblite2 folder) to copy - name
- Type: System.String
The name of the database to be used when opening - config
- Type: Couchbase.Lite.DatabaseConfiguration
The config to use when copying (for specifying directory, etc)
See Also