MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
virtual STRING MgFeatureService::DescribeSchemaAsXml ( MgResourceIdentifier resource,
CREFSTRING  schemaName 
) [pure virtual]

Gets the definition in XML format of a schema contained in the feature source. See Feature Schema .

Remarks:
The XML representation of the schema definitions conforms to FDO XML schema, which are based on OGC GML schema. How to specify a schema definition in XML is discussed in the Autodesk FDO API Developer's Guide.
Deprecated:
This method has been deprecated. Use the following method: DescribeSchemaAsXml(MgResourceIdentifier* resource, CREFSTRING schemaName, MgStringCollection* classNames) .
.NET Syntax
virtual string DescribeSchemaAsXml(MgResourceIdentifier resource, string schemaName);
Java Syntax
virtual String DescribeSchemaAsXml(MgResourceIdentifier resource, String schemaName);
PHP Syntax
virtual string DescribeSchemaAsXml(MgResourceIdentifier resource, string schemaName);
Parameters:
resource(MgResourceIdentifier) The resource identifier for the feature source
schemaName(String/string) The name of the schema definition to retrieve or an empty string to retrieve all available schema definitions.
Returns:
Returns a string containing the FDO schema in XML format.
Exceptions:
MgFeatureServiceException
MgInvalidArgumentException
MgFdoException