NetReplImportDirDel  6JGO0SE 

The NetReplImportDirDel function removes the registration of  a directory so that it no longer receives updates from the master. Note that this function does not actually delete the directory from the file system. The Replicator service can automatically register the directory service at any time. To prevent the importing of a directory that is being exported by some Replicator service, use the NetReplImportDirLock2O7IUL function instead.

Security Requirements

Only members of the Administrators local group or Replicator groups can successfully execute NetReplImportDirDel.

NET_API_STATUS NetReplImportDirDel(

    LPTSTR servername,

 

    LPTSTR dirname

 

   );

 

 

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.

dirname

Pointer to a null-terminated Unicode string containing the name of a replicated directory to remove the registration.

 

See Also

NetReplImportDirAdd