SE_serverinfo_set_maxgridsperfeat

Sets SE_SERVERINFO object's MAXGRIDSPERFEAT value
 

Usage syntax

Long SE_serverinfo_set_maxgridsperfeat (SE_SERVERINFO svrInfo, LONG maxGrids);
 

Parameters
svrInfo The SE_SERVERINFO object
maxGrids The new MAXGRIDSPERFEAT value for the input SE_SERVERINFO object
Description

This function sets the MAXGRIDSPERFEAT value for the SE_SERVERINFO data structure.

The MAXGRIDSPERFEAT parameter specifies the maximum number of grids per feature in the spatial index. It is only used with data types that utilize spatial grid indexes. This includes binary geometry storage in Oracle or SQL Server and ST_Geometry storage in Oracle and DB2.

The default value is 8000. This parameter cannot be set below 1000.

Returns

SE_SUCCESS
SE_INVALID_POINTER

SE_INVALID_PARAM_VALUE
SE_INVALID_SERVERINFO_OBJECT

SE_SDE_NOT_STARTED