SE_xmlcolumninfo_get_schema

Retrieves the schema collection assigned to the specified XML column (SQL Server only)

Usage syntax

SE_xmlcolumninfo_get_schema (SE_XMLCOLUMNINFO xmlcolumninfo, SE_XMLSCHEMAINFO schemainfo);

Parameters
xmlcolumninfo The SE_XMLCOLUMNINFO object
schemainfo The schema collection
Description

This function returns the schema collection that has been assigned to the specified SQL Server native XML column. XML schema collections enforce schema constraints on XML data.

Note: XML data that is associated with an XML schema collection is referred to as typed XML.

Returns

SE_SUCCESS
SE_INVALID_PARAM_VALUE

SE_INVALID_POINTER

SE_INVALID_XMLCOLUMN_OBJECT

SE_SDE_NOT_STARTED