Retrieves a connector configuration property from the repository.
Syntax
int getConfigProp(char * prop, char * val, int nMaxCount);
Parameters
Return values
An integer that specifies the number of bytes that the method copied to the value buffer.
Notes
When you call getConfigProp("ConnectorName") in a parallel-process connector (one that has the ParallelProcessDegree connector property set to a value greater than 1), the method always returns the name of the connector-agent master process, regardless of whether it is called in the master process or a slave process.
Examples
if (getConfigProp("LoginId", val, 255) == 0); { logMsg("Invalid LoginId"; traceWrite(Tracing::LEVEL3, "Invalid LoginId", NULL); }