# FdoIDestroySpatialContext Class Reference

`#include <IDestroySpatialContext.h>`

Inheritance diagram for FdoIDestroySpatialContext:

[legend]

List of all members.

## Detailed Description

The FdoIDestroySpatialContext interface defines the DestroySpatialContext command, which destroys an existing spatial context. Input to the command is the name of the context to destroy. Destroying a spatial context destroys all data stored in that context.

Definition at line 35 of file IDestroySpatialContext.h.

## Public Member Functions
virtual FDO_API void | Execute ()=0
| Executes the DestroySpatialContext command, removing all data stored in that context. An exception is thrown if the spatial context does not exist.
virtual FDO_API FdoString * | GetName ()=0
| Gets the name of the context to destroy as a string.
virtual FDO_API void | SetName (FdoString *value)=0
| Sets the name of the context to destroy as a string.
## Friends
class | FdoIConnection

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

- IDestroySpatialContext.h