|
|
|
|
- Logged replication and log process: Directory for file creation
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 setup phase of the application that manages the replication. 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 corresponds to an empty string: the MasterReplica.rpm file is created in the directory specified in the analysis (RPL subdirectory of the data files by default). 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 name of directory (network or UNC directory): the MasterReplica.rpm file is created in the specified directory.
Example: HCreateMasterReplica("C:\Temp") creates the MasterReplica.rpm file in the C:\Temp directory. - has the <Directory>\<FileName>.rpm format: the <FileName>.rpm file is created in the specified directory.
Example: HCreateMasterReplica("C:\Temp\Paris.rpm") creates the Paris.rpm file in the C:\Temp directory.
Business / UI classification: Business Logic
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|