ndapSchemaXtn - Source Code Details 8
Class definitions are removed from the schema with the NWDSRemoveClassDef call. All objects instantiated from the class definition must be deleted before the class definition can be removed.
A prototype for NWDSRemoveClassDef is shown below:
(NWDSCCODE) NWDSRemoveClassDef (NWDSContextHandle context, pnstr8 className );
Note: Non-zero return values from NWDSRemoveClassDef indicate an error. To understand handling client side NDS errors, refer to handling_errors.