|
|
|
|
|
Replication (Property)
Disponible 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. // Checks whether the data file is configured for replication (log-based replication) IF Customer.Replication = hNotReplicated THEN Info("Unable to replicate")
Sintaxis <Current mode>: Integer constant Replication modes: | | hMasterReplica | The data file is a master replica (HCreateMasterReplica was used to create the master replica) | hNotReplicated | The 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). | hReplicated | The data file is configured to be replicated. | hSubscriberReplica | The 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. <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: | | hNotReplicated | The data file is not configured for a log-based replication. | hReplicated | The data file is configured to be replicated. |
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|