NWDSAbortPartitionOperation

Aborts a partition operation in progress.

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 <nwdspart.h> 
   
  N_EXTERN_LIBRARY (NWDSCCODE)  NWDSAbortPartitionOperation  ( 
     NWDSContextHandle   context,  
     pnstr8              partitionRoot); 
  

Pascal

  uses netwin32 
   
  Function NWDSAbortPartitionOperation 
    (context : NWDSContextHandle; 
     partitionRoot : pnstr8 
  ) : NWDSCCODE;
  

Parameters

context

(IN) Specifies the NDS context for the request.

partitionRoot

(IN) Points to the root object name for the partition.

Return Values

0x0000 0000

SUCCESSFUL

nonzero value

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

Remarks

Two examples of partition operations are operations splitting a partition and joining a partition.

If possible, NWDSAbortPartitionOperation returns the partition to its state prior to the partition operation. If the partition operation cannot be aborted, NWDSAbortPartitionOperation returns ERR_CANNOT_ABORT.

NCP Calls

See Also

NWDSJoinPartitions, NWDSSplitPartition