Share via


IPsOnNetworks Property of the IFPCSmtpRoute Interface

The IPsOnNetworks property gets an FPCIPsOnNetworks collection that contains information about the IP addresses on which Forefront TMG listens for SMTP requests from particular networks.

C++

HRESULT get_IPsOnNetworks(
    IFPCIPsOnNetworks** ppIPsOnNetworks
);

Parameters

  • ppIPsOnNetworks
    Address of an interface pointer that on return points to an IFPCIPsOnNetworks interface that represents the information about the IP addresses on which Forefront TMG listens for SMTP requests from particular networks.

Return Value

This property method returns S_OK if the call is successful; otherwise, it returns an error code.

Visual Basic

Property IPsOnNetworks As FPCIPsOnNetworks

Property Value

Reference to an FPCIPsOnNetworks collection that specifies information about the IP addresses on which Forefront TMG listens for SMTP requests from particular networks.

Remarks

This property is read-only. It can be modified by calling the methods of the FPCIPsOnNetworks collection retrieved (the IFPCIPsOnNetworks interface retrieved in C++).

When the RouteDirection property is set to fpcInternalMailServers, the IP addresses included in this property are the IP addresses from which Forefront TMG listens for outbound mail from internal SMTP servers.

When the RouteDirection property is set to fpcInternetMailServer, the IP addresses included in this property are the IP addresses from which Forefront TMG listens for inbound mail from SMTP servers on the Internet.

A particular IP address on which Forefront TMG listens for SMTP requests from a particular network can be configured for only one SMTP route.

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