GetVirtualDesktopDetails method of the Win32_RDMSVirtualDesktop class

Retrieves the additional information about the virtual desktop.

Syntax

uint32 GetVirtualDesktopDetails(
  [out] uint32  RAMSizeInMB,
  [out] boolean RemoteFXEnabled,
  [out] string  OSVersion
);

Parameters

RAMSizeInMB [out]

Receives the amount of RAM assigned to the virtual desktop, in bytes.

RemoteFXEnabled [out]

Receives a value that indicates whether RemoteFX is enabled on the virtual desktop. TRUE if RemoteFX is enabled; otherwise, FALSE.

OSVersion [out]

Receives the OS version 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
RDManagement.mof
DLL
RDMS.dll

See also

Win32_RDMSVirtualDesktop