次の方法で共有


MoveNamespaceFolder method of the MSFT_DfsNamespaceFolder class

Moves a DFS folder to another location within the same namespace.

Syntax

uint32 MoveNamespaceFolder(
  [in] string NamespacePath,
  [in] string NewNamespacePath
);

Parameters

NamespacePath [in]

The Universal Naming Convention (UNC) path of the DFS folder to move. The UNC path has a format of \\HostName\SharedName[\ObjectName]*, where:

  • The HostName component represents either the host name of a server or the domain name of a domain that hosts resources.
  • The SharedName component represents the share name or the name of the resource that is being accessed.
  • Each ObjectName component represents the name of a directory on the resource that is being accessed.

NewNamespacePath [in]

The UNC path of another location in the namespace to move the DFS folder to.

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_DfsNamespaceFolder