The NetReplExportDirDel function removes registration of a replicated directory.
Only members of the Administrators or Account Operators local group can successfully execute NetReplExportDirDel.
NET_API_STATUS NetReplExportDirDel(
LPWSTR servername,
LPWSTR dirname
);
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, NetReplExportDirAdd