FPCNetworkTemplates collection

Applies to: desktop apps only

The FPCNetworkTemplates collection is an ordered set of FPCNetworkTemplate objects that represent the network templates defined in an array. A network template defines the relationships between a set of Forefront TMG networks and the policies that control traffic between those networks in a specific network topology.

By default, this collection contains the following predefined network templates that are supplied with Forefront TMG:

  • Edge Firewall. A predefined network template for Forefront TMG computers with a network adapter that is connected to the Internal network and a second network adapter that is connected to the External network (the Internet).
  • 3-Leg Perimeter. A predefined network template for Forefront TMG computers with a network adapter that is connected to the Internal network, a second network adapter that is connected to the External network (the Internet), and a third network adapter that is connected to a perimeter network, where published servers may reside.
  • Front Firewall. A predefined network template for a back-to-back network topology with a Forefront TMG computer at the front end and a second firewall protecting the corporate network at the back end. The Forefront TMG computer has a network adapter that is connected to the External network (the Internet) and a second network adapter that is connected to the network where the back-end firewall resides.
  • Back Firewall. A predefined network template for a back-to-back network topology with a Forefront TMG computer protecting the corporate network at the back end and a second firewall at the front end. The Forefront TMG computer has a network adapter that is connected to the Internal network and a second network adapter that is connected to the network where the front-end firewall resides.
  • Single Network Adapter. A predefined network template for Forefront TMG computers with one network adapter, through which traffic can flow between internal clients and the Internet. In this configuration, the Forefront TMG computer serves as a Web proxy and a caching server.

This collection is accessed through the NetworkTemplates property of an FPCNetworkConfiguration object.

Ff825489.bkbutton(en-us,VS.85).png Click here to see the Forefront TMG object hierarchy.

Members

The FPCNetworkTemplates collection has these types of members:

  • Methods
  • Properties

Methods

The FPCNetworkTemplates collection has these methods.

Method Description
Add

Creates a new FPCNetworkTemplate object in the collection and returns a reference to it.

Item

Retrieves the requested FPCNetworkTemplate object from the collection.

Refresh

Recursively reads the values of all the properties of the collection and its elements, including all the properties of its subobjects and their elements (for collections), from persistent storage, overwriting any changes that were not saved.

Remove

Removes the specified FPCNetworkTemplate object from the collection.

Save

Writes the current values of all the writable properties of the collection and its elements to persistent storage.

 

Properties

The FPCNetworkTemplates collection has these properties.

Property Access type Description

_NewEnum

Read-only

Gets an enumerator object for the collection.

Count

Read-only

Gets the number of FPCNetworkTemplate objects in the collection.

 

Interfaces for C++ Programming

This collection implements the IFPCNetworkTemplates interface.

Requirements

Minimum supported client

Windows Vista, None supported

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

See also

COM Objects

 

 

Build date: 7/12/2010