SetMaxYResolution method of the Win32_TSClientSetting class

Sets the MaxYResolution property.

Syntax

uint32 SetMaxYResolution(
  [in] uint32 MaxYResolution
);

Parameters

MaxYResolution [in]

The new maximum Y resolution supported by the server. The minimum value is 200 and the maximum value is 2048.

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