# FdoIDestroySchema Class Reference

`#include <IDestroySchema.h>`

Inheritance diagram for FdoIDestroySchema:

[legend]

List of all members.

## Detailed Description

The FdoIDestroySchema interface defines the DestroySchema command, which destroys a schema definition, including all class definitions, relationship definitions, and instance data within it. If elements in other schemas refer to the schema to be destroyed command, execution will fail. Input to the delete schema command is the name of the schema to be destroyed.

Definition at line 35 of file IDestroySchema.h.

## Public Member Functions
virtual FDO_API void | Execute ()=0
| Executes the destroy schema command, which removes the schema, class definitions, relation definitions, and all instance data from the DataStore. If elements in other schemas refer to the schema to be destroyed an exception is thrown.
virtual FDO_API FdoString * | GetSchemaName ()=0
| Gets the name of the schema to destroy as a string.
virtual FDO_API void | SetSchemaName (FdoString *value)=0
| Sets the name of the schema to destroy as a string.

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

- IDestroySchema.h