short StartBind(BSTR CollectionName, BSTR PackageName, BSTR ConsistencyToken)
Description
This function begins the process of binding a package in the database.
Parameters
Name | Description |
---|---|
CollectionName | The collection ID for the package. |
PackageName | The name for the package. |
ConsistencyToken | A string 16 characters long that contains the hexadecimal representation of an eight-byte token. This is used to ensure consistency between the package bound in the database and an application using that package. When a section is executed within the package, provide this value. |
Return Value
Return value will be zero if successful or non-zero if unsucessful. If the return value is non-zero, you can call GetLastErrorString(), GetLastErrorType(), GetLastSQLCode(), GetLastSQLError(), or GetLastSQLState() to get additional error information.
Related Tasks