The NetReplImportDirAdd function registers an existing directory in the import path to receive replication from a master.
Only members of the Administrators or Replicator group can successfully execute NetReplImportDirAdd.
NET_API_STATUS NetReplImportDirAdd(
LPWSTR servername,
DWORD level,
LPBYTE buf,
LPDWORD parm_err
);
Value | Meaning |
---|---|
0 | The buf parameter points to an array of REPL_IDIR_INFO_0 structures. |
Windows NT: Requires version 3.1 or later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in lmrepl.h.
Import Library: Use netapi32.lib.
Networking (Net) Overview, Net Functions, NetReplImportDirDel