Image | Audio | Video |
---|---|---|
X |
Sets the weight of the specified feature in a query object.
Authorization
None.
Library file
OS/2 and Windows | AIX, HP-UX, and Solaris |
---|---|
dmbqqry.lib | libdmbqqry.a (AIX) |
| libdmbqqry.sl (HP-UX) |
| libdmbqqry.so (Solaris) |
Include file
dmbqbapi.h
Syntax
SQLRETURN QbQuerySetFeatureWeight( QbQueryHandle qObj, sqldouble* weight );
Parameters
Error codes
Examples
Set the weight for the average color feature in a query object identified by the handle qoHandle:
#include <dmbqbapi.h> weight=2.0 rc = QbQuerySetFeatureWeight(qoHandle, "QbColorFeatureClass", &weight);