Code
 
 
 

Declarations

The object and variable declarations are the following:

FdoICommandCapabilities * commandCapabilities;

// this will contain values of type FdoCommandType and

// possibly values of type FdoRdbmsCommandType, which are

// provider-specific commands

GisInt32 * commandTypes;
bool supportsParameters;
bool supportsTimeout;
bool supportsSelectExpressions;
bool supportsSelectFunctions;
bool supportsSelectDistinct;
bool supportsSelectOrdering;
bool supportsSelectGrouping;

Method Calls

The method calls are the following:

commandCapabilities = connection->GetCommandCapabilities();

// this returns a list of command types

commandTypes = commandCapabilities->GetCommands();

// loop through the commandTypes

supportsParameters = commandCapabilities->SupportsParameters();
supportsTimeout = commandCapabilities->SupportsTimeout();
supportsSelectExpressions = commandCapabilities->
  SupportsSelectExpressions();
supportsSelectFunctions = commandCapabilities->
  SupportsSelectFunctions();
supportsSelectDistinct = commandCapabilities->
  SupportsSelectDistinct();
supportsSelectOrdering = commandCapabilities->
  SupportsSelectOrdering();
supportsSelectGrouping = commandCapabilities->
  SupportsSelectGrouping();

References

For more information, see these FDO API Reference Help topics: