RdvUndoVMPermissions method of the Win32_RdvhManagement class

Reverts permissions set by RdvSetupVMPermissions on the specified virtual machine.

Syntax

uint32 RdvUndoVMPermissions(
  [in] string VmName
);

Parameters

VmName [in]

Name of the virtual machine to undo permissions on.

Return value

Returns 0 on success, otherwise returns a WMI error code. Refer to Remote Desktop Services WMI Provider Error Codes for a list of these values.

Requirements

Requirement Value
Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\CIMv2\TerminalServices
MOF
TSVmHost.mof
DLL
TSVmHostWmi.dll

See also

Win32_RdvhManagement