SetMaxXResolution method of the Win32_TSClientSetting class

Sets the MaxXResolution property.

Syntax

uint32 SetMaxXResolution(
  [in] uint32 MaxXResolution
);

Parameters

MaxXResolution [in]

The new maximum X resolution supported by the server. The minimum value is 200 and maximum value is 4096.

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. The method returns an error if the user's connection settings are overridden by the server.

Requirements

Requirement Value
Minimum supported client
None supported
Minimum supported server
Windows Server 2008 R2
Namespace
Root\CIMv2\TerminalServices
MOF
TSCfgWmi.mof
DLL
TSCfgWmi.dll

See also

Win32_TSClientSetting