db2VendorQueryApiVersion API - Get the supported level of the vendor storage API
Determines which level of the vendor storage API is supported by the backup and
restore vendor storage plug-in.
If the specified vendor storage plug-in is not compatible
with Db2®, then
it will not be used.
If a vendor storage plug-in does not have this API implemented for logs, then it cannot be used and Db2 will report an error. This will not affect images that currently work with existing vendor libraries.
Authorization
None
Required connection
Database.
API include file
db2VendorApi.hAPI and data structure syntax
void db2VendorQueryApiVersion ( db2Uint32 * supportedVersion );db2VendorQueryApiVersion API parameters
- supportedVersion
- Output. Returns the version of the vendor storage API the vendor library supports.
Usage notes
This API will be called before any other vendor storage APIs are invoked.