# FdoIActivateSpatialContext Class Reference

`#include <IActivateSpatialContext.h>`

Inheritance diagram for FdoIActivateSpatialContext:

[legend]

List of all members.

## Detailed Description

The FdoIActivateSpatialContext interface defines the ActivateSpatialContext command, which activates a specified spatial context. Input to the command is the name of the context to activate.

Definition at line 34 of file IActivateSpatialContext.h.

## Public Member Functions
virtual FDO_API void | Execute ()=0
| Executes the ActivateSpatialContext command. An exception is thrown if the spatial context does not exist.
virtual FDO_API FdoString * | GetName ()=0
| Gets the name of the context to activate as a string.
virtual FDO_API void | SetName (FdoString *value)=0
| Sets the name of the context to activate as a string.
## Friends
class | FdoIConnection

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

- IActivateSpatialContext.h