IPsOnNetworkSets Property of the IFPCSmtpRoute Interface

The IPsOnNetworkSets property gets an FPCRefs collection that contains references to the FPCNetworkSet objects specifying the network sets from which Forefront TMG listens for SMTP requests for the route.

C++

HRESULT get_IPsOnNetworkSets(
    IFPCRefs** ppIPsOnNetworkSets
);

Parameters

  • ppIPsOnNetworkSets
    Address of an interface pointer than on return points to an IFPCRefs interface that represents the collection of references to the network sets from which Forefront TMG listens for SMTP requests for the route.

Return Value

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

Visual Basic

Property IPsOnNetworkSets As FPCRefs

Property Value

Reference to the FPCRefs collection that contains references to the network sets from which Forefront TMG listens for SMTP requests for the route.

Remarks

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

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

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

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