Navigation:  DAO Object Classes > DaoDatabase Class >

DaoDatabase:MakeReplica() Method

Previous pageReturn to chapter overviewNext page

Purpose

Makes a new replica based on the current replicable database

 

Parameters

cPathA string that contains the path and file name of the new replica. If the replica is an existing file name, then an error occurs.
cDescriptionA string that describes the replica you are creating
liOptionsOptional. 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

 

ConstantDescription

 

dbRepMakePartialCreates a partial replica.
dbRepMakeReadOnlyPrevents 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

DaoDatabase

 

Example

Database sample