The standard ODBC return codes are returned: SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_INVALID_HANDLE, and SQL_ERROR.
Purpose
Returns the bulk operation currently set on the connection. The bulk operation specifies the operation to be performed when either the LoadTableFromFile or LoadTableFromFileW method is called.
Parameters
hdbc
is the driver’s connection handle, which is not the handle returned by SQLAllocHandle or SQLAllocConnect. To obtain the driver's connection handle, the application must then use the standard ODBC function SQLGetInfo (ODBC Conn Handle, SQL_DRIVER_HDBC).
Operation
is a pointer to the location where current bulk operation specified for the connection is returned. The returned value is one of the operation values defined by SetBulkOperation.