SE_rascolinfo_set_gdbtype

sets the geodatabase type for the raster column.

Usage syntax

LONG  SE_rascolinfo_set_gdbtype (SE_RASCOLINFO rastercolumn, UCHAR gdbtype);

Parameters
rastercolumn The SE_RASCOLINFO handle
gdbtype The geodatabase type to set
Description

SE_rascolinfo_set_gdbtype sets the geodatabase type in the raster column. The valid geodatabase types are:

SE_GDBTYPE_NONE - the image is not registered as a raster dataset
SE_GDBTYPE_RASTERMAP - the image is registered as a geodatabase raster dataset

To be registered as a raster dataset an image must conform to the following properties:

1. the gdbtype enumeration must be set to SE_GDTTYPE_RASTERMAP,
2. the business table must include a column called name set to the literal value "ESRI_SDERASTERDATASET".
3. the business table must contain a single row.

Raster columns created in this way are viewed by ArcGIS as a raster dataset.

Returns

SE_SUCCESS
SE_INVALID_PARAM_VALUE

SE_INVALID_RASCOLINFO_OBJECT

SE_SDE_NOT_STARTED