PvCloseDatabase()
Closes an open database handle.
Header File: catalog.h (See also
Header Files)
Function First Available In Library: w3dbav90.dll (Windows), libpsqldti.so (Linux), libpsqldti.dylib (macOS) (See also
Link Libraries)
Syntax
PRESULT PvCloseDatabase(
BTI_WORD dbHandle);
Arguments
Return Values
PCM_Success | The operation was successful. |
PCM_errFailed | Operation was not successful. |
PCM_errMemoryAllocation | An error occurred during memory allocation |
PCM_errDictionaryNotOpen | No database open with specified handle. |
Remarks
The following preconditions must be met:
•Connection established by
PvConnectServer() or if you are performing the operation on a local machine, P_LOCAL_DB_CONNECTION may be used as the connection handle.
See Also