AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

virtual MgByteReader* MgFeatureService::GetCapabilities ( CREFSTRING  providerName  )  [pure virtual]

Gets the capabilities of an FDO Provider expressed in XML according to the FdoProviderCapabilities schema.

Remarks:
MgFeatureService derives most of its capabilities from the FDO Provider to which it is connected. Capabilities vary among providers. For example, the FDO Provider for ArcSDE supports all of the spatial operators, and the FDO Provider for Oracle supports only a subset. For a fuller discussion, see Provider Capabilities .
.NET Syntax
virtual MgByteReader GetCapabilities(string providerName);
Java Syntax
virtual MgByteReader GetCapabilities(String providerName);
PHP Syntax
virtual MgByteReader GetCapabilities(string providerName);

Parameters:
providerName (String/string) The name of the FDO provider. Get the exact form of the name from MgFeatureService::GetFeatureProviders.
Returns:
Returns an MgByteReader containing the capabilities in XML format (or NULL).
Exceptions:
MgInvalidArgumentException 
MgFdoException