PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Lists the replications available on a master or subscriber HFSQL server.
Remark: From version 19, HFSQL is the new name of HyperFileSQL.
Example
// Déclaration des variables
Cnx is Connection
listeRS is array of hRSConfig
 
// Configuration de la connexion
...
 
// Liste des réplications
listeRS = HRSListConfig(Cnx)
FOR EACH ConfigRéplication OF listeRS
Trace(ConfigRéplication.Serveur)
END
Syntax
<Result> = HRSListConfig(<Connection> [, <Option>])
<Result>: Array of hRSConfig
Array of hRSConfig variables describing the different replications defined on the HFSQL server.
<Connection>: Character string or Connection variable
Connection to the master HFSQL server (on which the replications are defined). This connection corresponds to:
<Option>: Integer constant
Used to list the replications for which the current server is master or subscriber:
hrsSubscriberLists the replications for which the current server is subscriber.
Remark: In this case, the hRSConfig variable corresponding to the replication has the following characteristics:
  • Bidirectional replication: the identifier corresponds to the identifier of the replication on the subscriber server.
  • Unidirectional replication: the identifier is set to 0.
  • The Property Server is the name of the master server.
  • The properties description and Planning are not available.
hrsMaster
(Default value)
Lists the replications for which the current server is master.
Component: wd270hf.dll
Minimum version required
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment