|
|
|
|
|
HRSTransformSpareIntoServer (Function) In french: HRSTransformeSpareEnServeur Transforms a Spare server into an HFSQL server. This makes it possible to delete replications of a spare server so that it can be used again. For example, this function can be used in the case of a master server that becomes unreachable. This function should only be used in a critical situation. Note: This function is only available from version 2025 Update 1.
arrRS_FullSpare is array of hRSConfig = HRSListConfig(gcntFullSpare_database1, hrsSubscriber)
HRSTransformSpareIntoServer(gcntFullSpare_database1, arrRS_FullSpare[1].PeerIdentifier)
arrRS_FullSpare is array of hRSConfig = HRSListConfig(gcntFullSpare_database1, hrsSubscriber)
HRSTransformSpareIntoServer(gcntFullSpare_database1, arrRS_FullSpare[1].Server)
HRSTransformSpareIntoServer(gcntFullSpare_database1)
Syntax
<Result> = HRSTransformSpareIntoServer(<Connection> [, <Replication to delete>])
<Result>: Boolean - True if deleted successfully,
- False otherwise. HErrorInfo is used to identify the error.
<Connection>: Character string or Connection variable Connection to the HFSQL spare server. This connection corresponds to: <Replication to delete>: Optional integer or character string - Identifier of replication to delete. This identifier corresponds to the PeerIdentifier property of the hRSConfig variable describing the replication.
- Name of the master server for which the spare replications are to be deleted.
If this parameter is not specified, all spare replications will be deleted.
Business / UI classification: Business Logic
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|