SE_xmlschema_delete

Deletes an XML schema

Usage syntax

SE_xmlschema_delete (SE_CONNECTION handle, SE_WCHAR *schema, SE_WCHAR options);

Parameters
handle The SE_CONNECTION
schema The name of the schema
options See Description section
Description

SE_xmlschema_delete drops an XML schema object. The following options can be specified:

SE_XML_SCHEMA_DELETE_DEFAULT

Drops an XML schema using default options
SE_XML_SCHEMA_ORA_DELETE_CASCADE Drops all dependent SQL types and tables (default) (Oracle only)
SE_XML_SCHEMA_ORA_DELETE_RESTRICT Deletion fails if there are any dependent tables or XML schemas (Oracle only)
SE_XML_SCHEMA_ORA_DELETE_INVALIDATE Deletion not fail if there are any dependent tables or XML schemas (Oracle only)
SE_XML_SCHEMA_ORA_DELETE_CASCADE_FORCE Drops all dependent SQL types and tables and does not check for any stored instance documents (Oracle only)
Returns

SE_SUCCESS
SE_INVALID_POINTER

SE_OUT_OF_CLMEM

SE_SDE_NOT_STARTED