copyToDatabase (Document - Java™)
Copies a document to a specified database.
Defined in
Syntax
public Document copyToDatabase(Database db)
throws NotesException Parameters
Database db The database to which you want to copy the document. Cannot be null.
Return value
Document The new document in the specified database.
Note: CopyToDatabase also
saves the new document.