NDSIsOnlyServerInTree
Determines whether the eDirectory tree contains more than one server.
#include <ndsback.h>
int NDSIsOnlyServerInTree (
void *(*memAlloc)(unsigned size),
void (*memFree)(void *p),
int *onlyServer);
|
0x0000 |
SUCCESSFUL |
|
Nonzero |
Nonzero values indicate errors. See |
This function is an exported symbol from the DSBACKER NLM. To use it, you will need to create an import file.
To prevent user error, call this function before using the NDSBackUpServerData function to verify that the eDirectory tree contains more than one server. The NDSBackUpServerData function requires that an eDirectory tree contain two or more servers.