IMsRdpClientTransportSettings::GatewayProfileUsageMethod property

Specifies whether to use default Remote Desktop Gateway (RD Gateway) settings.

This property is read/write.

Syntax

HRESULT put_GatewayProfileUsageMethod(
  [in]  ULONG ulProxyProfileMethod
);

HRESULT get_GatewayProfileUsageMethod(
  [out] ULONG *pulProxyProfileUsageMethod
);

Property value

The RD Gateway profile usage method. This parameter can be one of the following values.

TSC_PROXY_PROFILE_MODE_DEFAULT (0 (0x0))

Use the default profile mode, as specified by the administrator.

TSC_PROXY_PROFILE_MODE_EXPLICIT (1 (0x1))

Use explicit settings, as specified by the user.

Error codes

Returns S_OK if successful.

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Type library
MsTscAx.dll
DLL
MsTscAx.dll
IID
IID_IMsRdpClientTransportSettings is defined as 720298C0-A099-46f5-9F82-96921BAE4701

See also

IMsRdpClientTransportSettings