SetEnforceChannelBinding method of the Win32_TSGatewayServerSettings class

Sets the EnforceChannelBinding property.

Syntax

uint32 SetEnforceChannelBinding(
  [in] boolean EnforceChannelBinding
);

Parameters

EnforceChannelBinding [in]

Specifies the new EnforceChannelBinding property value.

Return value

If the method succeeds, it returns zero. If the method is unsuccessful, it returns a nonzero value. For a list of error codes, see Remote Desktop Services WMI Provider Error Codes.

Requirements

Requirement Value
Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\CIMv2\TerminalServices
MOF
TSGateway.mof
DLL
AagWmi.dll

See also

Win32_TSGatewayServerSettings