IMsTscAdvancedSettings::Compress property

Specifies whether compression is enabled.

This property is read/write.

Syntax

HRESULT put_Compress(
  [in]  LONG compress
);

HRESULT get_Compress(
  [out] LONG *pcompress
);

Property value

Set this parameter to 0 to disable compression or a nonzero value to enable compression.

Error codes

Returns S_OK if successful.

Remarks

For more information about Remote Desktop Web Connection, see Requirements for Remote Desktop Web Connection.

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Type library
MsTscAx.dll
DLL
MsTscAx.dll
IID
IID_IMsTscAdvancedSettings is defined as 809945cc-4b3b-4a92-a6b0-dbf9b5f2ef2d

See also

IMsRdpClientAdvancedSettings

IMsRdpClientAdvancedSettings2

IMsRdpClientAdvancedSettings3

IMsRdpClientAdvancedSettings4

IMsRdpClientAdvancedSettings5

IMsRdpClientAdvancedSettings6

IMsRdpClientAdvancedSettings7

IMsRdpClientAdvancedSettings8

IMsTscAdvancedSettings