NWDSRemoveClassDef

Deletes a class definition from the eDirectory schema.

Local Servers:blocking
Remote Servers:blocking
NetWare Server:4.x, 5.x, 6.x
Platform:NLM, Windows NT, Windows 95, Windows 98, Windows 2000, Windows XP
Library:Cross-Platform NDS (NET*.*)
Service:NDS

Syntax

C

  #include <nwnet.h> 
  or 
  #include <nwdssch.h> 
   
  N_EXTERN_LIBRARY (NWDSCCODE)  NWDSRemoveClassDef  ( 
     NWDSContextHandle   context,  
     pnstr8              className); 
  

Pascal

  uses netwin32 
   
  Function NWDSRemoveClassDef 
    (context : NWDSContextHandle; 
     className : pnstr8 
  ) : NWDSCCODE;
  

Parameters

context

(IN) Specifies the NDS context for the request.

className

(IN) Points to the class name to be removed.

Return Values

0x0000 0000

SUCCESSFUL

nonzero value

Nonzero values indicate errors. See NDS Return Values (–001 to –799).

Remarks

Calling NWDSRemoveClassDef is not allowed if the class is referenced by any other class, or if objects of this class exist in the eDirectory database.

The className parameter identifies the class whose definition is to be removed.

NOTE:Clients cannot subtract from the standard set of class definitions defined by the eDirectory operational schema (these are flagged nonremovable). Clients can, however, add and remove non-standard definitions (if not in use).

NCP Calls

See Also

NWDSRemoveAttrDef