SE_xmlcolumninfo_set_document_option |
Sets the XML column's type to either SE_XML_DOCUMENT_TYPE or SE_XML_CONTENT_TYPE
SE_xmlcolumninfo_set_document_option( SE_XMLCOLUMNINFO xmlcolumninfo, SHORT doc_option);
xmlcolumninfo | The SE_XMLCOLUMNINFO object |
doc_option | The XML type; either document (SE_XML_DOCUMENT_TYPE) or content (SE_XML_CONTENT_TYPE) |
This function sets the SQL Server native typed XML column to store either XML documents or content. Only use the document (SE_XML_DOCUMENT_TYPE) setting if each XML has only one top-level element; otherwise, use content (SE_XML_CONTENT_TYPE). Content is the default value.
Returns
SE_SUCCESS
SE_INVALID_PARAM_VALUE
SE_INVALID_POINTER
SE_INVALID_XMLCOLUMN_OBJECT
SE_SDE_NOT_STARTED