# OSGeo::FDO::Commands::SpatialContext::IDestroySpatialContextImp Class Reference
[OSGeo::FDO::Commands::SpatialContext]

Inheritance diagram for OSGeo::FDO::Commands::SpatialContext::IDestroySpatialContextImp:

[legend]

List of all members.

## Detailed Description

The IDestroySpatialContextImp class is a concrete implementation of IDestroySpatialContext. The IDestroySpatialContext 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.

()

## Public Member Functions
System::Void | Execute ()
| Executes the DestroySpatialContext command, removing all data stored in that context. An exception is thrown if the spatial context does not exist.
__property System::String * | get_Name ()
| Gets the name of the context to destroy as a string.
__property System::Void | set_Name (System::String *value)
| Sets the name of the context to destroy as a string.