NetReplExportDirDel

The NetReplExportDirDel function removes registration of a replicated directory.

Security Requirements

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

NET_API_STATUS NetReplExportDirDel(
  LPWSTR servername,  
  LPWSTR 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 from the registration files.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in lmrepl.h.
  Import Library: Use netapi32.lib.

See Also

Networking (Net) Overview, Net Functions, NetReplExportDirAdd