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.

Methods

The FPCNetworkTemplates collection defines the following 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 defines the following properties.

Property Description

_NewEnum

Gets an enumerator object for the collection.

Count

Gets the number of FPCNetworkTemplate objects in the collection.

Interfaces for C++ Programming

This collection implements the IFPCNetworkTemplates interface.

Requirements

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

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.