AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Administrar bases de datos / HFSQL / Gestión de la replicación / Funciones WLanguage
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
Reads the replication configuration for an HFSQL server that takes part in one or more replications.
This function can be run on a master server or on a subscriber server.
Example
Cnt is Connection
 
Trace(HRSInfo(Cnt))
Syntax
<Result> = HRSInfo(<Connection>)
<Result>: Character string
Information regarding the different replications performed on this server. This information has the following format:
<Server role> + TAB + <Server identifier> + TAB + <Port> + TAB + <Priority>
where:
  • <Server role> corresponds to an integer constant used to find out the role of the server in the replication:
    hrsInactiveInactive computer in the replication between HFSQL servers.
    hrsMasterMaster computer in the replication between HFSQL servers.
    hrsMaster + hrsSubscriberMaster and subscriber computers in the replication between HFSQL servers (for a bi-directional replication).
    hrsSubscriberSubscriber computer in the replication between HFSQL servers.
  • <Server identifier> corresponds to the number used to identify the current HFSQL server among all the servers taking part in a replication.
  • <Port> corresponds to the TCP/IP port used for the communication between servers.
  • <Priority> corresponds to the priority number of the server used in case of resolution by priority during a modification conflict.
<Connection>: Character string or Connection variable
Connection to the HFSQL server. This connection corresponds to:
Component: wd290hf.dll
Versión mínima requerida
  • Versión 18
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 06/07/2023

Señalar un error o enviar una sugerencia | Ayuda local