SE_layer_get_info_by_id

Retrieves information about a layer by the ID.

Usage syntax

LONG SE_layer_get_info_by_id (SE_CONNECTION connection, LONG layer_id, SE_LAYERINFO layer);

Parameters
connection The connection handle
layer_id The layer ID
layer Pointer to a location to receive the SE_LAYERINFO definition
Description

SE_layer_get_info_by_id obtains the definition of a specific layer. Information about the layer is maintained in an SE_LAYERINFO structure. The SE_LAYERINFO object must be a valid object created by SE_layerinfo_create.

Returns

SE_SUCCESS
SE_DB_IO_ERROR

SE_INVALID_POINTER

SE_LAYER_NOEXIST

SE_NET_FAILURE

SE_NO_PERMISSIONS

SE_SDE_NOT_STARTED