What Is the Capabilities API?

FDO API

 
What Is the Capabilities API?
 
 
 

You can use this API and its various capability categories to determine the capabilities of a particular provider, for example, FDO Provider for Oracle. The capabilities methods can be used to execute code conditionally, depending on which provider is being used and which capability is being exercised.

The capabilities of an FDO provider are grouped in the following categories:

  • Connection
  • Schema
  • Command
  • Expression
  • Filter
  • Geometry
  • Raster
NoteTopology-related samples are provided for informational use only. There is no interface or support provided. Autodesk reserves the right to change the software related to the content herein.

The capabilities are retrieved by using methods belonging to an FdoIConnection object. First, you connect to the provider. Then, you query its capabilities.

The sections in this chapter describe how to retrieve the capabilities for each of the categories. In each section, the code fragment assumes that you have connected to the provider and declared the following connection object:

#include <fdo.h>
FdoIConnection * connection;