Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

CreateFeatureSource
DescribeSchema
DescribeSchema
DescribeSchemaAsXml
DescribeSchemaAsXml
DescribeWfsFeatureType
EnumerateDataStores
ExecuteSqlNonQuery
ExecuteSqlQuery
GetCapabilities
GetClassDefinition
GetClasses
GetConnectionPropertyValues
GetFeatureProviders
GetLockedFeatures
GetLongTransactions
GetSchemaMapping
GetSchemas
GetSpatialContexts
GetWfsFeature
SchemaToXml
SelectAggregate
SelectFeatures
SelectFeatures
SetLongTransaction
TestConnection
TestConnection
UpdateFeatures
XmlToSchema
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. 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 |

Comments or suggestions? Send us feedback.