The NetReplSetInfo function modifies the Replicator service configuration information.
Only members of the Administrators or Account Operators local group can successfully execute NetReplSetInfo.
NET_API_STATUS NetReplSetInfo(
  LPWSTR servername, 
  DWORD level,       
  LPBYTE buf,        
  LPDWORD parm_err   
);
 
| Value | Meaning | 
|---|---|
| 0 | The buf parameter points to an array of REPL_INFO_0 structures. | 
| 1000 | The buf parameter points to an array of REPL_INFO_1000 structures. | 
| 1001 | The buf parameter points to an array of REPL_INFO_1001 structures. | 
| 1002 | The buf parameter points to an array of REPL_INFO_1002 structures. | 
| 1003 | The buf parameter points to an array of REPL_INFO_1003 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, NetReplGetInfo, REPL_INFO_0, REPL_INFO_1000, REPL_INFO_1001, REPL_INFO_1002, REPL_INFO_1003