AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

virtual MgStringCollection* MgFeatureService::GetClasses ( MgResourceIdentifier resource,
CREFSTRING  schemaName 
) [pure virtual]

Gets a list of the names of all classes available within a specified schema . See Feature Schema .

.NET Syntax
virtual MgStringCollection GetClasses(MgResourceIdentifier resource, string schemaName);
Java Syntax
virtual MgStringCollection GetClasses(MgResourceIdentifier resource, String schemaName);
PHP Syntax
virtual MgStringCollection GetClasses(MgResourceIdentifier resource, string schemaName);

Parameters:
resource (MgResourceIdentifier) A resource identifier for a feature source.
schemaName (String/string) A schema name.
Returns:
Returns an MgStringCollection containing a list of class names. These names are fully qualified. In other words, they are in the form schema_name:class_name. For example, SHP_Schema:lulc_n83.
Exceptions:
MgFeatureServiceException 
MgInvalidArgumentException 
MgFdoException