FDO API Reference Feature Data Objects
Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

FdoIDestroySchema Class Reference

#include <IDestroySchema.h>

Inherits FdoICommand.

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 FdoStringGetSchemaName ()=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.

Member Function Documentation

virtual FDO_API void FdoIDestroySchema::Execute  )  [pure virtual]
 

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.

Returns:
Returns nothing

virtual FDO_API FdoString* FdoIDestroySchema::GetSchemaName  )  [pure virtual]
 

Gets the name of the schema to destroy as a string.

Returns:
Returns the name of the schema to destroy

virtual FDO_API void FdoIDestroySchema::SetSchemaName FdoString value  )  [pure virtual]
 

Sets the name of the schema to destroy as a string.

Parameters:
value Input the name of the schema to destroy
Returns:
Returns nothing

The documentation for this class was generated from the following file:
Comments or suggestions? Send us feedback.