SE_xmlcolumninfo_set_schema |
Assigns a schema collection to the specified XML column (SQL Server only)
SE_xmlcolumninfo_set_schema( SE_XMLCOLUMNINFO xmlcolumninfo, SE_XMLSCHEMAINFO schemainfo);
xmlcolumninfo | The SE_XMLCOLUMNINFO object |
schemainfo | The name of the schema collection |
This function assigns a schema collection 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