Aborts a partition operation in progress.
#include <nwnet.h>
or
#include <nwdspart.h>
N_EXTERN_LIBRARY (NWDSCCODE) NWDSAbortPartitionOperation (
NWDSContextHandle context,
pnstr8 partitionRoot);
uses netwin32
Function NWDSAbortPartitionOperation
(context : NWDSContextHandle;
partitionRoot : pnstr8
) : NWDSCCODE;
(IN) Specifies the NDS context for the request.
(IN) Points to the root object name for the partition.
|
0x0000 0000 |
SUCCESSFUL |
|
nonzero value |
Nonzero values indicate errors. See |
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.