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(
LPTSTR servername,
DWORD level,
LPBYTE buf,
LPDWORD parm_err
);
Value
Meaning
0
The buf parameter points to an array of REPL_IDIR_INFO_0 structures.
.