FPCNetworkTemplate Object

The FPCNetworkTemplate object represents a network template. 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. A network template is stored in an XML file. The FPCNetworkTemplate object properties allow you to set and get a name and description for the network template. You cannot use the Forefront TMG administration COM objects to change the XML file that defines a network template.

The XML file that contains a network template configuration includes:

By default, the following predefined network templates are supplied with Forefront TMG:

A network template can be applied to an array using the SelectNetworkTemplateAndPolicy method of the FPCArray object.

The FPCNetworkTemplate object representing the network template used by an array is referenced through the FPCRef object held in the NetworkTemplateUsed property of the applicable FPCArray object.

This object is an element of an FPCNetworkTemplates collection, and a new object representing a network template can be created by calling the Add method of this collection.

Click here to see the Forefront TMG object hierarchy.

Methods

The FPCNetworkTemplate object defines the following methods.

Method Description

Refresh

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

Save

Writes the current values of the object's writable properties to persistent storage.

Properties

The FPCNetworkTemplate object defines the following properties.

Property Description

Description

Gets or sets the description of the template.

LargeBMPName

Gets the large bitmap (.bmp) file content of the network template.

MediumBMPName

Gets the medium .bmp file content of the network template.

Name

Gets or sets the name of the template.

NetworksInTemplate

Gets an FPCNetworksInTemplate collection that specifies the networks included in the template.

Order

Gets the ordinal position of the network template.

PersistentName

Gets the persistent name of the network template.

PoliciesInTemplate

Gets an FPCPoliciesInTemplate collection that specifies the policies included in the template.

SmallBMPName

Gets the small .bmp file content of the network template.

XMLName

Gets the name of the XML file that specifies the network configuration and policies in the network template.

Interfaces for C++ Programming

This collection implements the IFPCNetworkTemplate 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.