BSATerminate
Terminate a session.
SYNOPSIS
#include <xbsa.h>
int BSATerminate(BSA_Handle bsaHandle)
DESCRIPTION
The BSATerminate() call terminates the session with the NetBackup XBSA interface that was set up by a previous BSAInit() call and is associated with the bsaHandle. It also releases any resources acquired for the session, including closing any log files. If BSATerminate() is called within a transaction, the transaction is aborted.
PARAMETERS
BSA_Handle bsaHandle (I) | This parameter is the handle that associates this call with a previous BSAInit() call. |
RETURN VALUE
The following return codes are returned by this function:
BSA_RC_ABORT_SYSTEM_ERROR | System detected error, operation aborted. |
BSA_RC_INVALID_HANDLE | The handle used to associate this call with a previous BSAInit() call is invalid. |
BSA_RC_SUCCESS | The function succeeded. |