|
|
|
|
|
- Day-to-day replication and logging: File creation directories
HCreateMasterReplica (Function) In french: HCréeRéplicaMaître
 Not available with these kinds of connection
Creates the description file of a Master Replica ( log-based replication or universal replication)). The extension of the corresponding file is ".rpm". The description file of a Master Replica contains the list of Subscriber Replicas with their date of last synchronization. This file is empty when it is created. You must call HCreateSubscriberReplica to initialize this file. Remark: This function is automatically called during the installation phase of the replication application. Syntax
<Result> = HCreateMasterReplica([<Master replica directory>])
<Result>: Boolean - True if the master replica was created,
- False otherwise (the file already exists in the specified directory for example).
<Master replica directory>: Optional character string Directory where the description file of Master Replica must be created. This directory must be accessible when HCreateMasterReplica is used. If this parameter:- is not specified or is an empty string: the file ReplicaMaître.rpm is created in the directory defined in the analysis (default RPL subdirectory for data files).. For the universal replication, if this parameter is not specified or if it corresponds to an empty string (""), the file is created in the current directory.
- corresponds to a directory name (network or UNC directory): the ReplicaMaître.rpm file is created in the specified directory.
Example: HCreateMasterReplica("C:\Temp") creates the file ReplicaMaster.rpm in the C:\Temp directory. - is of the form <Répertoire>\<NomFichier>.rpm: the file <NomFichier>.rpm is created in the specified directory..
Example: HCreateMasterReplica("C:\Temp\Paris.rpm") creates the file Paris.rpm in the C:\Temp directory.
Business / UI classification: Business Logic
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|