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
Deletes a replication between two HFSQL servers. This function must be run on a master HFSQL server for replication.
Note: From version 19, HFSQL is the new name of HyperFileSQL.
Example
HRSDeleteConfig(Cnt, ConfigReplication1)
Syntax

Deleting a replication identified by a hHRSConfig variable Hide the details

<Result> = HRSDeleteConfig(<Connection> , <Replication to Delete> [, <Forced Deletion>])
<Result>: Boolean
  • True if the replication was deleted,
  • False otherwise. HErrorInfo is used to identify the error.
<Connection>: Character string (with or without quotes)
Connection to the HFSQL server on which the replication is performed. This connection was defined in the data model editor, or by programming with HDescribeConnection or HOpenConnection.
<Replication to Delete>: hRSConfig variable
Name of hRSConfig variable describing the replication to delete.
<Forced Deletion>: Optional boolean
  • True to force the deletion even if the other server cannot be contacted. In this case:
    • the information regarding the replication will not be deleted from the subscriber server.
    • for a bidirectional replication, the replication will not be deleted from the other server. We advise you to perform this deletion from this server as well to avoid a useless memory consumption.
  • False (default value) to delete the replication only if the subscriber server is accessible.

Deleting a replication identified by a hHRSConfig variable Hide the details

<Result> = HRSDeleteConfig(<Connection> , <Replication to Delete> [, <Type of Deletion>])
<Result>: Boolean
  • True if the replication was deleted,
  • False otherwise. HErrorInfo is used to identify the error.
<Connection>: Character string (with or without quotes)
Connection to the HFSQL server on which the replication is performed. This connection was defined in the data model editor, or by programming with HDescribeConnection or HOpenConnection.
<Replication to Delete>: hRSConfig variable
Name of hRSConfig variable describing the replication to delete.
<Type of Deletion>: Optional Integer constant
Type of replication to delete:
hrsSubscriberForces the deletion of an orphan replication on the subscriber side. In this case, the hRSConfig variable can be retrieved by HRSListConfig associated with the hrsSubscriber constant.
hrsDefault
(default value)
Deletes the replication only if the subscriber server is accessible.
hrsIgnoreSubscriberForces the deletion even if the other server cannot be contacted. In this case:
  • the information regarding the replication will not be deleted from the subscriber server.
  • for a bidirectional replication, the replication will not be deleted from the other server. We advise you to perform this deletion from this server as well to avoid a useless memory consumption.
Note: Before version 190040, this parameter corresponded to a boolean (True equivalent to the hrsIgnoreSubscriber constant and False equivalent to the hrsDefault constant).

Deleting a replication identified by its identifier Hide the details

<Result> = HRSDeleteConfig(<Connection> , <Identifier> [, <Forced Deletion>])
<Result>: Boolean
  • True if the replication was deleted,
  • False otherwise. HErrorInfo is used to identify the error.
<Connection>: Character string (with or without quotes)
Connection to the HFSQL server on which the replication is performed. This connection was defined in the data model editor, or by programming with HDescribeConnection or HOpenConnection.
<Identifier>: Integer
Identifier of replication to delete. This identifier corresponds to the ..Identifier property of hRSConfig variable describing the replication.
<Forced Deletion>: Optional boolean
  • True to force the deletion even if the other server cannot be contacted. In this case:
    • the information regarding the replication will not be deleted from the subscriber server.
    • for a bidirectional replication, the replication will not be deleted from the other server. We advise you to perform this deletion from this server as well to avoid a useless memory consumption. .
  • False (default value) to delete the replication only if the subscriber server is accessible.
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