Inspects an object for correctness.
#include <nwnet.h> or #include <nwdsdsa.h> N_EXTERN_LIBRARY (NWDSCCODE) NWDSInspectEntry ( NWDSContextHandle context, pnstr8 serverName, pnstr8 objectName, pBuf_T errBuffer);
uses netwin32 Function NWDSInspectEntry (context : NWDSContextHandle; serverName : pnstr8; objectName : pnstr8; errBuffer : pBuf_T ) : NWDSCCODE;
(IN) Specifies the NDS context for the request.
(IN) Points to the server name to which to connect.
(IN) Points to the object name to be inspected.
(OUT) Points to the Buf_T structure which is a result buffer containing the requested information.
0x0000 0000 |
SUCCESSFUL |
nonzero value |
Nonzero values indicate errors. See |
NWDSInspectEntry is a diagnostic function allowing you to inspect an object in the replica on a specific server to see if the object needs to be repaired.
If no partition exists on the server specified by serverName or the object does not exist in the partition(s) on the specified server, NWDSInspectEntry returns ERR_NO_SUCH_ENTRY.
After successful completion of this function call, the output buffer contains the following data: