SE_stream_set_invalidshape_mode |
Turns on or off fetch_invalidshape mode for a read stream
LONG SE_stream_set_invalidshape_mode(SE_STREAM stream, BOOL fetchinvalid);
stream | The stream handle |
fetchinvalid | Flag indicating whether or not fetching should continue after encountering an invalid shape |
(Oracle only) This function sets the fetch_invalidshape mode stream. By default, fetch_invalidshape is turned off. If a shape fetched from the database fails ArcSDE shape validation while fetch_invalidshape mode is off, SE_stream_fetch returns an error, and the stream is closed.
When fetch_invalidshape mode is turned on, invalid shapes can be fetched from the stream without closing the stream. When a feature is fetched that fails ArcSDE shape validation, SE_stream_fetch will not fail, but SE_stream_get_shape will return SE_INVALID_SHAPE.
When fetch_invalidshape mode is on, buffered reads are turned off.
Initialize the stream handle by calling SE_stream_create before calling this function.
SE_CONNECTION_LOCKED
SE_CONNECTION_IN_USE
SE_FUNCTION_SEQUENCE_ERROR
SE_INVALID_PARAM_VALUE
SE_INVALID_STREAM_TYPE
SE_NET_FAILURE
SE_SDE_NOT_STARTED
SE_SUCCESS