HistHookConnectionStringServerName
- Last UpdatedJun 06, 2017
- 1 minute read
Description:
The HistHookConnectionStringServerName function is called by the HistQReader during startup. When the function is called, it either returns an Optional Server name or NULL. If it returns an Optional Server name, the HistQReader bypasses the History Server configured during installation and connects to the newly-returned Optional Server. If NULL is returned, HistQReader connects to the server configured during installation.
Syntax
char* HistHookConnectionStringServerName (void)
Parameters:
-
This function does not include any parameters
Return type: char*
This function returns an optional server name for HistQReader. The returned string must remain allocated (that is, it must return a static buffer).
Note: When an invalid Optional Server name is passed, the logger message will not be displayed and the HistQReader will not start.