IFPCServerPublishingProperties::UseFirewallIPAsSource property
Applies to: desktop apps only
The UseFirewallIPAsSource property gets or sets a Boolean value that indicates whether the IP address of the Forefront TMG computer's network adapter in the network where the server published by the rule resides will be used as the source IP address when the request is forwarded to the published server.
This property is read/write.
Syntax
HRESULT put_UseFirewallIPAsSource(
VARIANT_BOOL fUseFirewallIPAsSource
);
HRESULT get_UseFirewallIPAsSource(
VARIANT_BOOL *pfUseFirewallIPAsSource
);
' Data type: Boolean
Property UseFirewallIPAsSource( _
ByVal fUseFirewallIPAsSource As VARIANT_BOOL, _
ByVal pfUseFirewallIPAsSource As VARIANT_BOOL _
) As Boolean
Property value
Boolean value that indicates whether the IP address of the Forefront TMG computer's network adapter in the network where the server published by the rule resides will be used as the source IP address when the request is forwarded to the published server.
Error codes
These property methods return S_OK if the call is successful; otherwise, they return an error code.
Remarks
This property is read/write. Its default value is False (VARIANT_FALSE in C++). When the value of this property is set to False (VARIANT_FALSE in C++), requests appear to come from the IP address of the original client, and the default gateway of the published server must be an IP address of the Forefront TMG computer.
If more than one IP address is configured on the applicable network adapter, this property applies to the first IP address.
Requirements
Minimum supported client |
Windows Vista |
Minimum supported server |
Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only) |
Version |
Forefront Threat Management Gateway (TMG) 2010 |
IDL |
Msfpccom.idl |
DLL |
Msfpccom.dll |
See also
Build date: 7/12/2010