IBM Books

Image, Audio, and Video Extenders Administration and Programming

QbQueryRemoveFeature


Image Audio Video
X    

Removes a query feature from the query object and deallocates any associated memory. The following features are supplied with the Image Extender:

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 QbQueryRemoveFeature(
      QbQueryHandle qObj,
      char *featureName
      );

Parameters

qObj (in)
The handle of the query object.

featureName (in)
The name of the feature to be removed.

Error codes

qbiECinvalidQueryHandle
The query object handle you specified does not reference a valid query object.

qbiECinvalidFeatureClass
The feature you specified is not a valid name format.

qbiECfeatureNotPresent
The feature you specified is not a member of the query object.

Examples

Remove the QbColorFeatureClass feature from the query object identified by the handle qoHandle:

#include <dmbqbapi.h>
 
rc = QbQueryRemoveFeature(qoHandle,
        "QbColorFeatureClass");


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]