IBM Books

Image, Audio, and Video Extenders Administration and Programming

QbRemoveFeature


Image Audio Video
X    

Deletes the specified feature from the opened catalog.

Authorization

Alter

Library file
OS/2 and Windows AIX, HP-UX, and Solaris
dmbqbapi.lib libdmbqbapi.a (AIX)

libdmbqbapi.sl (HP-UX)

libdmbqbapi.so (Solaris)

Include file

dmbqbapi.h

Syntax

SQLRETURN QbRemoveFeature(
      QbCatalogHandle cHdl,
      char *featureName
      );

Parameters

cHdl (in)
A pointer to the handle of the catalog.

featureName (in)
The name of the feature.

Error codes

qbicECIvalidHandle
The catalog handle is not valid.

qbicECCatalogReadOnly
The catalog is open for read only.

qbicECFeatureNotFound
The feature is not in the catalog.

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

Examples

Remove the QbColorHistogramFeatureClass feature from the catalog identified by the handle CatHdl:

#include <dmbqbapi.h>
 
rc=QbRemoveFeature(CatHdl,
     "QbColorHistogramFeatureClass");


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