#include <nwnet.h> or #include <nwdsmisc.h> #include <nwdsdefs.h>NWDSCCODE N_API NWDSCloseIteration (NWDSContextHandle context, int32 iterationHandle, uint32 operation);
NWDSCloseIteration is called to discontinue an iterative operation, such as Read, List, and Search, before the operation is complete. In the event the client chooses to discontinue the iterative exchange with the server, NWDSCloseIteration frees memory and states information associated with the handle.
Functions such as NWDSList, NWDSRead, and NWDSSearch free the memory and state information associated with an operation when they return with iterationHandle set to NO_MORE_ITERATIONS. NWDSCloseIteration is called to stop the operation before these functions set iterationHandle to NO_MORE_ITERATIONS.
operation tags follow:
Allocation Type | Related Function | |
---|---|---|
3 | DSV_READ | NWDSExtSyncReadNWDSListAttrsEffectiveRights NWDSReadNWDSReadReferences |
4 | DSV_COMPARE | NWDSCompare |
6 | DSV_SEARCH | NWDSExtSyncListNWDSExtSyncSearch NWDSListByClassAndNameNWDSListContainers NWDSPutFilterNWDSSearch |
7 | DSV_ADD_ENTRY | NWDSAddObject |
9 | DSV_MODIFY_ENTRY | NWDSModifyObject |
12 | DSV_READ_ATTR_DEF | NWDSReadAttrDef |
14 | DSV_DEFINE_CLASS | NWDSDefineClass |
15 | DSV_READ_CLASS_DEF | NWDSReadClassDef |
16 | DSV_MODIFY_CLASS_DEF | NWDSModifyClassDef |
18 | DSV_LIST_CONTAINABLE_CLASSES | NWDSListContainableClasses |
20 | DSV_ADD_PARTITION | NWDSAddPartition |
22 | DSV_LIST_PARTITIONS | NWDSListPartitions |
45 | DSV_BACKUP_ENTRY | NWDSBackupObject |
46 | DSV_RESTORE_ENTRY | NWDSRestoreObject |
------------------------------------------------------------------------------------ | | Allocation Type | Related Function | |------|------------------------------|---------------------------------------------| | 3 | DSV_READ | NWDSExtSyncReadNWDSListAttrsEffectiveRights| | | | NWDSReadNWDSReadReferences | |------|------------------------------|---------------------------------------------| | 4 | DSV_COMPARE | NWDSCompare | |------|------------------------------|---------------------------------------------| | 6 | DSV_SEARCH | NWDSExtSyncListNWDSExtSyncSearch | | | | NWDSListByClassAndNameNWDSListContainers | | | | NWDSPutFilterNWDSSearch | |------|------------------------------|---------------------------------------------| | 7 | DSV_ADD_ENTRY | NWDSAddObject | |------|------------------------------|---------------------------------------------| | 9 | DSV_MODIFY_ENTRY | NWDSModifyObject | |------|------------------------------|---------------------------------------------| | 12 | DSV_READ_ATTR_DEF | NWDSReadAttrDef | |------|------------------------------|---------------------------------------------| | 14 | DSV_DEFINE_CLASS | NWDSDefineClass | |------|------------------------------|---------------------------------------------| | 15 | DSV_READ_CLASS_DEF | NWDSReadClassDef | |------|------------------------------|---------------------------------------------| | 16 | DSV_MODIFY_CLASS_DEF | NWDSModifyClassDef | |------|------------------------------|---------------------------------------------| | 18 | DSV_LIST_CONTAINABLE_CLASSES| NWDSListContainableClasses | |------|------------------------------|---------------------------------------------| | 20 | DSV_ADD_PARTITION | NWDSAddPartition | |------|------------------------------|---------------------------------------------| | 22 | DSV_LIST_PARTITIONS | NWDSListPartitions | |------|------------------------------|---------------------------------------------| | 45 | DSV_BACKUP_ENTRY | NWDSBackupObject | |------|------------------------------|---------------------------------------------| | 46 | DSV_RESTORE_ENTRY | NWDSRestoreObject | |------|------------------------------|---------------------------------------------|
Directory