AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

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 .

.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.