NetReplSetInfo

The NetReplSetInfo function modifies the Replicator service configuration information.

Security Requirements

Only members of the Administrators or Account Operators local group can successfully execute NetReplSetInfo.

NET_API_STATUS NetReplSetInfo(

LPTSTR servername,  
DWORD level,  
LPBYTE buf,  
LPDWORD parm_err  
);  

Parameters

servername

Pointer to a null-terminated Unicode string containing the name of the remote server on which the function is to execute. A NULL pointer or string specifies the local computer.

level

Specifies one of the following values to set the level of information provided.

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.

buf

Pointer to the buffer in which data set with the level parameter is stored.

parm_err

Optional pointer to a DWORD that contains the identifier of the first parameter that caused ERROR_INVALID_PARAMETER. If NULL, the parameter is not returned on error.

See Also

NetReplGetInfo, REPL_INFO_0, REPL_INFO_1000, REPL_INFO_1001, REPL_INFO_1002, REPL_INFO_1003