SpecificSourceIpAddressEnabled Property of the IFPCSmtpRoute Interface

The SpecificSourceIpAddressEnabled property gets or sets a Boolean value that indicates whether the specific source IP address is enabled for the route.

C++

HRESULT put_SpecificSourceIpAddressEnabled(
    VARIANT_BOOL fSpecificSourceIpAddressEnabled
);
HRESULT get_SpecificSourceIpAddressEnabled(
    VARIANT_BOOL* pfSpecificSourceIpAddressEnabled
);

Parameters

  • fSpecificSourceIpAddressEnabled
    Boolean value that indicates whether the specific source IP address is enabled for the route.

  • pfSpecificSourceIpAddressEnabled
    Pointer to a Boolean variable that is set on return to VARIANT_TRUE if the specific source IP address is enabled for the route, or to VARIANT_FALSE if the specific source IP address is not enabled for the route.

Return Value

These property methods return S_OK if the call is successful; otherwise, they return an error code.

Visual Basic

Property SpecificSourceIpAddressEnabled As Boolean

Property Value

Boolean value that indicates whether the specific source IP address is enabled for the route.

Remarks

This property is read/write. Its default value is False (VARIANT_FALSE in C++).

When this property is set to True (VARIANT_TRUE in C++), Forefront TMG listens for SMTP requests only from the IP address specified in the SpecificSourceIpAddress property.

Requirements

Client Requires Windows 7 or Windows Vista.
Server Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2.
Version Requires Forefront Threat Management Gateway (TMG) 2010.
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCSmtpRoute

Send comments about this topic to Microsoft

Build date: 6/30/2010