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
Deletes the subscription of a replication on the replication server.
This function is mainly used for a replication with delayed replicas, to free resources on the server.
Example
// Opens a replication on the replication server
ReplicOpen("MyReplication", "", "ReplicationServer", "Name", "password")
 
// Deletes the replication
ReplicDeleteSubscription("MyReplication")
Syntax
<Result> = ReplicDeleteSubscription(<Replication name>)
<Result>: Boolean
  • True if the replication subscription was deleted,
  • False otherwise. For more details about the problem, use ErrorInfo.
<Replication name>: Character string
Name of the replication to use. This name corresponds to:
  • the name of ".wer" file, created by ReplicEdit (for an online replication). This file must be found beside the executable.
  • the publication name (for a replication server).
Remarks
  • The replication must have been opened by ReplicOpen.
  • If the replication does not use the replication server (replication in direct mode), ReplicDeleteSubscription has no effect.
  • The local files associated with the replication are not deleted.
Component: wd290rpl.dll
Minimum version required
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help