Purpose
Makes a new replica based on the current replicable database
Parameters
cPath | A string that contains the path and file name of the new replica. If the replica is an existing file name, then an error occurs. |
cDescription | A string that describes the replica you are creating |
liOptions | Optional. A constant or combination of constants that specifies characteristics of the replica you are creating, as specified in Settings |
Settings
You can use one or more of the following constants for lOptions
Constant | Description |
dbRepMakePartial | Creates a partial replica. |
dbRepMakeReadOnly | Prevents users from modifying the replicable objects of the new replica; however, when you synchronize the new replica with another member of the replica set, design and data changes will be propagated to the new replica |
Class
Example