IFWXConnection::GetConnectionFlags method
Applies to: desktop apps only
The GetConnectionFlags method retrieves the flags that are set for the connection.
Syntax
HRESULT GetConnectionFlags(
[out] LPDWORD pOutputFlags
);
Parameters
pOutputFlags [out]
Pointer to a variable that on return is set to the following flag if it is set for the connection, or to 0.Value Meaning FWX_CONNECTION_INTERNAL_ADDRESS_TRANSLATION External source IP addresses are translated to an internal IP address on the Forefront TMG computer if there is a NAT network relationship between the source and destination networks.
Return value
This method returns S_OK if the call is successful; otherwise, it returns an error code.
Remarks
When a server publishing rule is configured to use the primary IP address of the Forefront TMG computer's network adapter in the network where the server published by the rule resides as the source IP address in requests forwarded to the published server, the FWX_CONNECTION_INTERNAL_ADDRESS_TRANSLATION flag is set for the connection object of each primary connection, and full proxy mode is enabled. When this flag is set for the connection object of a primary connection, the application filter should set the FWX_FLAG_PROXY_MODE flag in a call to BindForClient and thereby enable full proxy mode for secondary connections.
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only) |
Version |
Forefront Threat Management Gateway (TMG) 2010 |
Header |
Wspfwext.idl |
DLL |
Wspsrv.exe |
See also
Build date: 7/12/2010