Share via


RemoveNamespace method of the MSFT_DFSNamespace class

Removes a DFS namespace (DFS-N) and any child namespace links.

Syntax

uint32 RemoveNamespace(
  [in] string NamespaceRoot
);

Parameters

NamespaceRoot [in]

The Universal Naming Convention (UNC) path to the root of the DFS namespace. The namespace root can take one of these two formats:

Server Format Domain Format
\\ServerName\DFSName \\DomainName\DFSName

where:

  • The ServerName component represents the host name of a DFS root target of a namespace.
  • The DomainName component represents the domain name of the domain that hosts the domain-based namespace.
  • The DFSName component represents the DFS-N name.

A stand-alone namespace must have a root with the format shown in the first column, as it must contain a server name. A domain-based namespace can have a root with the format from either column, although the second column's format (which contains a domain name instead of a server name) is the preferred format.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\dfsn
MOF
DfsNCimProv.mof
DLL
DfsNCimProv.dll

See also

MSFT_DFSNamespace