KDB_FailOver_SetHook

Purpose

Register a callback routine to be executed after a reconnect.

Definition

DEFSUB 'KDB_FailOver_SetHook(HookFn AS SYM('KDB_FailOver_SetHook_Prototype), UserData AS SYM(KCMLString)) AS Void

Parameters

HookFnSYM of a function compatible with the prototype 'KDB_FailOver_SetHook_Prototype
UserDataSYM of an application state block

Description

Allows an application routine to be called after a database reconnect to allow the connection to be modified.

See also

Internal KCML Functions, Internally defined structures and Internally defined enumerations and constants.