SetSMBPath method of the Win32_RDMSDeploymentSettings class

Updates the UNC path to the SMB share to which virtual machines of the virtual desktop collection are deployed.

Syntax

uint32 SetSMBPath(
  [in] string DirectoryPath
);

Parameters

DirectoryPath [in]

The new path to the SMB share, in UNC format.

Return value

Returns 0 on success, otherwise returns a WMI error code.

Requirements

Requirement Value
Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\CIMv2\rdms
MOF
RDManagement.mof
DLL
RDMS.dll

See also

Win32_RDMSDeploymentSettings