ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / HFSQL / Managing replications / WLanguage functions
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.
Example
// Declare the variables
Cnt is Connection
listRS is array of hRSConfig
 
// Configuring the connection
...
 
// List of replications
listRS = MyConnection.RSListConfig()
FOR EACH ConfigReplication OF listRS
Trace(ConfigReplication.Server)
END
Syntax
<Result> = <Connection>.RSListConfig([<Option>])
<Result>: Array of hRSConfig
Array of hRSConfig variables describing the different replications defined on the HFSQL server.
<Connection>: Connection variable
Name of the Connection variable that describes the connection to the master HFSQL server (on which replications are defined).
<Option>: Integer constant
Used to list the replications for which the current server is master or subscriber:
hrsMaster
(Default value)
Lists the replications for which the current server is master.
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 Server property corresponds to the name of the master server.
  • The Description and Scheduling properties are not available.
Component: wd290hf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 07/06/2023

Send a report | Local help