SE_xmlindexinfo_set_name

Sets the XML index's name.

Usage syntax

LONG SE_xmlindexinfo_set_name
(SE_XMLINDEXINFO xml_index,
const CHAR *name);

Parameters

xml_index

The SE_XMLINDEXINFO handle.

name

The name of the index.

Description

SE_xmlindexinfo_set_name sets the SE_XMLINDEXINFO structure's name member, which represents the name of the XML index. The name can contain up to SE_MAX_XML_INDEX_NAME_LEN characters, including the terminating NULL character. Index names must be unique among schemas. i.e. (index_owner,name) is unique.

Returns

SE_SUCCESS
SE_INVALID_PARAM_VALUE

SE_INVALID_POINTER

SE_INVALID_XMLINDEX_OBJECT

SE_SDE_NOT_STARTED