SE_xmlcolumninfo_set_index

Set an XML column's index information in an SE_XMLCOLUMNINFO object.

Usage syntax

LONG SE_xmlcolumninfo_set_index
(const SE_XMLCOLUMNINFO columninfo,
SE_XMLINDEXINFO indexinfo);

Parameters

columninfo

The SE_XMLCOLUMNINFO object.

indexinfo

The SE_XMLINDEXINFO object with new index information.

Description

This function sets index information in the specified SE_XMLCOLUMNINFO object. The SE_XMLINDEXINFO object must be initialized with a call to SE_xmlindexinfo_create and then populated with new index information before calling this function.

If "indexinfo" is NULL, then any index information in the SE_XMLCOLUMNINFO object is removed.

Returns

SE_SUCCESS
SE_INVALID_POINTER

SE_INVALID_PARAM_VALUE

SE_INVALID_XMLCOLUMN_OBJECT

SE_INVALID_XMLINDEX_OBJECT

SE_OUT_OF_CLMEM

SE_SDE_NOT_STARTED