PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Lists the replications available on a master or subscriber HFSQL server.
Note: From version 19, HFSQL is the new name of HyperFileSQL.
Example
listRS is array of hRSConfig
listRS = HRSListConfig(Cnt)
FOR EACH ConfigReplication OF listRS
Trace(ConfigReplication..Server)
END
Syntax

Listing the replications available on a master server Hide the details

<Result> = HRSListConfig(<Connection>)
<Result>: Array of hRSConfig
Array of hRSConfig variables describing the different replications defined on the HFSQL server.
<Connection>: Character string (with or without quotes)
Connection to the master HFSQL server (on which the replications are defined). This connection was defined in the data model editor, or by programming with HDescribeConnection or HOpenConnection.
Syntax available from version 180046.

Listing the replications available on a master or subscriber server Hide the details

<Result> = HRSListConfig(<Connection> [, <Option>])
<Result>: Array of hRSConfig
Array of hRSConfig variables describing the different replications defined on the HFSQL server.
<Connection>: Character string (with or without quotes)
Connection to the master HFSQL server (on which the replications are defined). This connection was defined in the data model editor, or by programming with HDescribeConnection or HOpenConnection.
<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.
Note: 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.
  • Single-directional replication: the identifier is set to 0.
  • ..Server corresponds to the name of master server.
  • ..Description and ..Scheduling are not available.
hrsMasterLists the replications for which the current server is master.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230hf.dll
Linux wd230hf.so
Minimum required version
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment