# FdoIGetSpatialContexts Class Reference

`#include <IGetSpatialContexts.h>`

Inheritance diagram for FdoIGetSpatialContexts:

[legend]

List of all members.

## Detailed Description

The FdoIGetSpatialContexts interface defines the GetSpatialContexts command, which enumerates the existing spatial contexts.

Definition at line 34 of file IGetSpatialContexts.h.

## Public Member Functions
virtual FDO_API FdoISpatialContextReader * | Execute ()=0
| Executes the GetSpatialContexts command returning an FdoISpatialContextReader.
virtual FDO_API const bool | GetActiveOnly ()=0
| Gets a Boolean flag that indicates if the GetSpatialContexts command will return only the active spatial context or all spatial contexts. The default value of this flag is false, return all spatial contexts.
virtual FDO_API void | SetActiveOnly (const bool value)=0
| Sets a Boolean flag that indicates if the GetSpatialContexts command will return only the active spatial context or all spatial contexts. The default value of this flag is false, return all spatial contexts.
## Friends
class | FdoIConnection

The documentation for this class was generated from the following file:

- IGetSpatialContexts.h