CancelBind()


" "

short CancelBind(BSTR CollectionName, BSTR PackageName)

Description

This function cancels a bind operation that was previously initialized. All information regarding the named package is released.

Parameters


Name Description
CollectionName The collection name used in the previous call to StartBind().
PackageName The package name used in the previous call to StartBind().

Return Value

The return value will be zero if successful or non-zero if unsuccessful. If the return value is non-zero, you can call GetLastErrorString(), GetLastErrorType(), GetLastSQLCode(), GetLastSQLError(), or GetLastSQLState() to get additional error information.