Click or drag to resize
ReportClientCopyDatabase Method
Copy a specified database identified by the URI.

Namespace: ZReports
Assembly: ManageEngine Analytics Plus (in ManageEngine Analytics Plus.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public long CopyDatabase(
	string dbURI,
	string newDBName,
	string newDBDesc,
	bool withData,
	string copyDBKey,
	Dictionary<string, string> config
)

Parameters

dbURI
Type: SystemString
The database URI.
newDBName
Type: SystemString
New name of the database.
newDBDesc
Type: SystemString
The new database desc.
withData
Type: SystemBoolean
if set to true [with data].
copyDBKey
Type: SystemString
The copy database key.
config
Type: System.Collections.GenericDictionaryString, String
The config can contain additional params. can be null.

Return Value

Type: Int64
The new database id.
See Also