AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Propiedades WLanguage / Propiedades HFSQL
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Replication (Property)
 
HFSQL ClassicDisponible solo con este tipo de conexión
The Replication property is used to:
  • find out the replication mode used for a data file (data file defined in the data model editor or programmatically defined).
  • specify the replication mode used for a data file (for programmed description of the data file only).
This property can only be used in a log-based replication.
Ejemplo
// Checks whether the data file is configured for replication (log-based replication)
IF Customer.Replication = hNotReplicated THEN Info("Unable to replicate")
Sintaxis

Getting the replication mode Ocultar los detalles

<Current mode> = <Data file>.Replication
<Current mode>: Integer constant
Replication modes:
hMasterReplicaThe data file is a master replica (HCreateMasterReplica was used to create the master replica)
hNotReplicatedThe data file is not configured for a log-based replication. To implement log-based replication, check "Replicación basada en registros" in the data file options ("Logging" tab of the data file description window).
hReplicatedThe data file is configured to be replicated.
hSubscriberReplicaThe data file is a subscriber replica (HCreateSubscriberReplica was used to create the subscriber replica)
<Data file>: Character string
Name of the data file used. This name is defined in the data model editor or with the File Description type.

Defining the replication mode Ocultar los detalles

<Data file>.Replication = <Replication mode>
<Data file>: Character string
Name of the data file used. This name is defined with the File Description type.
<Replication mode>: Integer constant
Replication modes:
hNotReplicatedThe data file is not configured for a log-based replication.
hReplicatedThe data file is configured to be replicated.
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 13/05/2025

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