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

Gets the definitions of one or more schema contained in the feature source. See Feature Schema .

Deprecated:
This method has been deprecated. Use the following method: DescribeSchema(MgResourceIdentifier* resource, CREFSTRING schemaName, MgStringCollection* classNames) .
.NET Syntax
virtual MgFeatureSchemaCollection DescribeSchema(MgResourceIdentifier resource, string schemaName);
Java Syntax
virtual MgFeatureSchemaCollection DescribeSchema(MgResourceIdentifier resource, String schemaName);
PHP Syntax
virtual MgFeatureSchemaCollection DescribeSchema(MgResourceIdentifier resource, string schemaName);
Parameters:
resource(MgResourceIdentifier) A 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 an MgFeatureSchemaCollection.
Exceptions:
MgFeatureServiceException
MgInvalidArgumentException
MgFdoException
Note:
Please refer to Overview section of this document or Fdo provider documents for details on connection properties, schema and classes.