FPCNetworkTemplates Collection

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:

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

Click here to see the Forefront TMG object hierarchy.


The FPCNetworkTemplates collection defines the following methods.

Method Description


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


Retrieves the requested FPCNetworkTemplate object from the collection.


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.


Removes the specified FPCNetworkTemplate object from the collection.


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


The FPCNetworkTemplates collection defines the following properties.

Property Description


Gets an enumerator object for the collection.


Gets the number of FPCNetworkTemplate objects in the collection.

Interfaces for C++ Programming

This collection implements the IFPCNetworkTemplates interface.


Client Requires Windows Vista or Windows XP.
Server Requires Windows Server 2008.
Version Requires Forefront Threat Management Gateway (TMG).

Declared in Msfpccom.idl.

See Also

COM Objects

Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.