short EndBind(BSTR CollectionName, BSTR PackageName)
Description
This function completes the bind process for a static SQL package. Calling this function causes QMF for Windows to send the complete information for the current package to the database for processing.
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.