RemoveUserAssignment method of the Win32_RDMSVirtualDesktop class
Removes the user assignment from the virtual desktop.
Syntax
uint32 RemoveUserAssignment(
[in] string VMName
);
Parameters
-
VMName [in]
-
The virtual machine name of the virtual desktop.
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 |
|
DLL |
|