SE_xmlcolumninfo_get_document_option

Retrieves the type of a native SQL Server XML column

Usage syntax

SE_xmlcolumninfo_get_document_option (SE_XMLCOLUMNINFO xmlcolumninfo, SHORT *doc_option);

Parameters
xmlcolumninfo The SE_XMLCOLUMNINFO object
doc_option The XML type; either document (SE_XML_DOCUMENT_TYPE) or content (SE_XML_CONTENT_TYPE)
Description

This function determines the type of the specified XML column. The type is either SE_XML_DOCUMENT_TYPE or SE_XML_CONTENT_TYPE.

Returns

SE_SUCCESS
SE_INVALID_PARAM_VALUE

SE_INVALID_POINTER

SE_INVALID_XMLCOLUMN_OBJECT

SE_SDE_NOT_STARTED