createReplica (NotesAdministrationProcess - JavaScript™)
Enters a request in the Administration Requests database to create a replica.
Defined in
NotesAdministrationProcessSyntax
createReplica(sourceserver:string,
sourcedbfile:string) : string
createReplica(sourceserver:string,
sourcedbfile:string, destserver:string, destdbfile:string, copyacl:boolean,
createftindex:boolean) : string
Parameter | Description |
---|---|
String sourceserver |
The full hierarchical name (can be abbreviated) of the server containing the database being replicated. An empty string ("") means the local server. |
String sourcedbfile |
The pathname of the database being replicated relative to the data directory. |
String destserver |
The full hierarchical name (can be abbreviated) of the server containing the replica. An empty string ("") means the local server. |
String destdbfile |
The pathname of the new database relative to the data directory. Defaults to the same pathname as the source file. |
boolean copyacl |
|
boolean createftindex |
|
Return value | Description |
---|---|
String |
The note ID of an entry created in the Administration Requests database. |
Usage
This method triggers "Check access" and "Create replica" administration process requests.Language cross-reference
createReplica in LotusScript® NotesAdministrationProcess classcreateReplica in Java™ AdministrationProcess class