FPCArray object

Applies to: desktop apps only

The FPCArray object defines a single Forefront TMG array, and its properties provide access to the array-level configuration settings in the hierarchy of administration COM objects for the Forefront TMG computers associated with it. Each Forefront TMG computer is associated with a single array.

When multiple Forefront TMG computers are associated with the same FPCArray object, you can configure these servers at the same time through the array-level properties and methods of the FPCArray object. A group of Forefront TMG computers that are associated with the same array can be managed as a single, logical entity and can provide distributed caching, load balancing, and fault tolerance.

This object is an element of the FPCArrays collection, and a new object representing an additional array can be created by calling the Add method of the FPCArrays collection.

Note  In Standard Edition, there is only one FPCArray object in the FPCArrays collection, and it provides access to the configuration settings of only a single Forefront TMG computer.

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

The way in which an FPCArray object is retrieved depends on the components of Forefront TMG that are installed and running on the computer on which the code is being executed. For information about retrieving an FPCArray object after creating the root object, see Retrieving an Array Object.

For code examples that use the FPCArray object, see Forefront TMG Administration Scripting.

Inheritance

This object inherits from the FPCPersist object, which contains methods and properties related to the persistent storage of an object's data. They include methods for exporting the object's data to and importing it from an XML document.

Members

The FPCArray object has these types of members:

  • Methods
  • Properties

Methods

The FPCArray object has these methods.

Method Description
CopyElementsIntoEnterprise

Copies specified array rule elements into the enterprise configuration.

GetActivityStatistics

Gets an FPCActivityStatistics collection that contains the activity counter entries for the array during a specified period of time.

GetProtectionCounters

Gets an FPCDashboardPerformanceCounters collection that contains statistics concerning the activity of the array.

IsExternalComponentInstalled

Determines whether the specified external component is installed on all the Forefront TMG computers in the array.

RestartServices

Restarts the services specified in a bitmask of the FpcServices enumerated type and any services that depend on them.

SelectNetworkTemplateAndPolicy

Sets a selected network template and default policy for the array.

 

Properties

The FPCArray object has these properties.

Property Access type Description

AdminSecurity

Read-only

Gets an FPCAdminSecurity object that holds the administration security settings for the array.

AdminVersionMajor

Read-only

Gets the major version number of the schema of the array.

AdminVersionMinor

Read-only

Gets the minor version number of the schema of the array.

Alerts

Read-only

Gets an FPCAlerts collection that contains objects defining all the alerts in the array.

ArrayPolicy

Read-only

Gets an FPCArrayPolicy object that specifies the array policy for the array.

BranchCacheConfiguration

Read-only

Gets an FPCBranchCacheConfiguration object that holds the BranchCache configuration settings for the array. (This property is introduced in Forefront TMG 2010 SP 1.)

Cache

Read-only

Gets an FPCCache object that provides access to the cache configuration settings for the array and to a method for downloading content to the cache.

ChangeTracking

Read-only

Gets an FPCChangeTracking object that provides access to the change tracking settings and log for the array.

CompatibilityVersion

Read/write

Gets or sets a value from the FpcCompatibilityVersion enumerated type that specifies the minimum version of an object or of Forefront TMG Management that may access the configuration settings of the array.

Components

Read-only

Gets a set of flags indicating the components that are installed in the array.

ConfigurationStorageServerConnection

Read-only

Gets an FPCConfigurationStorageServerConnection object that represents the connection to the Configuration Storage server for the array (available only in Forefront TMG Enterprise Edition).

ConnectivityVerifiers

Read-only

Gets an FPCConnectivityVerifiers collection that contains objects defining all the connectivity verifiers for the array.

CreatedTime

Read-only

Gets a Date value that specifies the date and time in Coordinated Universal Time (UTC) when the object was created.

CreateThreadPerHttpVerifier

Read/write

Gets or sets a Boolean value that indicates whether a separate thread will be created for each connectivity verifier that sends HTTP GET requests to check connectivity.

Description

Read/write

Gets or sets the description of the array in the form of a string.

DNSName

Read/write

Gets or sets the DNS name of the array.

EntOverridingUrlCategories

Read-only

Gets an FPCUrlToCategoryMappings collection that contains objects defining the enterprise-level mappings of URLs to overriding URL categories copied from the enterprise configuration to the array. (This property is introduced in Forefront TMG 2010 SP 1 for use in Forefront TMG Enterprise Edition.)

Extensions

Read-only

Gets an FPCExtensions object that represents the set of application filters and Web filters for the array.

FWClientConfigSettings

Read-only

Gets an FPCClientConfigSettings collection that contains the Forefront TMG Client settings for the array.

IntraArrayCredentials

Read-only

Gets an FPCCredentials object that represents the credentials to be used by array members for authenticating intra-array communication.

IsJoinedToEnterprise

Read-only

Gets a Boolean value that indicates whether the array is joined to an enterprise.

LastModifiedTime

Read-only

Gets a Date value that specifies the date and time in Coordinated Universal Time (UTC) when the array was modified.

Logging

Read-only

Gets an FPCLogs collection that contains objects defining all the logging configurations for the array.

LogViewer

Read-only

Gets an FPCLogViewer object that represents the log viewer for the array.

MailCodePage

Read/write

Gets or sets the mail code page of the array.

MalwareInspectionSettings

Read-only

Gets an FPCMalwareInspectionSettings object that holds the malware inspection settings for the array.

Name

Read/write

Gets or sets the name of the array.

NetworkConfiguration

Read-only

Gets an FPCNetworkConfiguration object that holds all the network configuration settings for the array.

NetworkInspectionSystem

Read-only

Gets an FPCNetworkInspectionSystem object that represents the Network Inspection System (NIS) configuration settings for the array.

NetworkTemplateUsed

Read-only

Gets an FPCRef object that references the FPCNetworkTemplate object defining the network template used by the array.

PolicyAssignment

Read-only

Gets an FPCPolicyAssignment object that specifies the enterprise policy assigned to the array and some configuration settings that determine how the enterprise policy is applied in the array.

Reports

Read-only

Gets an FPCReports object that holds the ready reports, report jobs, and summary report configuration for the array.

RuleElements

Read-only

Gets an FPCRuleElements object that provides access to collections of rule elements for the array.

Servers

Read-only

Gets an FPCServers collection that contains objects representing all the Forefront TMG computers in the array.

SessionsMonitors

Read-only

Gets an FPCSessionsMonitors object that provides access to the firewall and the Forefront TMG Web proxy session monitors for the array.

SmtpProtectionConfiguration

Read-only

Gets an FPCSmtpProtectionConfiguration object that holds the SMTP protection settings for the array.

SpyNetLevel

Read/write

Gets or sets a value from the FpcSpyNetLevel enumerated type that indicates the type of membership for sending information to the Microsoft Telemetry Service.

StaticRoutes

Read-only

Gets an FPCStaticRoutes collection that contains objects defining all the static routes for the array.

SystemPolicy

Read-only

Gets an FPCSystemPolicy object that holds the system policy information for the array.

Type

Read-only

Gets a value from the FpcArrayType enumerated type that indicates whether the array consists of a single Forefront TMG computer or may contain multiple servers.

UpdateCenter

Read-only

Gets an FPCUpdateCenter object that represents the update center for the array.

UseComputerAccountForIntraArrayAuthentication

Read/write

Gets or sets a Boolean value that indicates whether the computer accounts of the array members will be used for authenticating intra-array communication.

 

Methods Inherited from FPCPersist

Name Description
CancelWaitForChanges Cancels the registration established by the WaitForChanges method (for use in C and C++ programming only).
CanImport Returns a Boolean value that indicates whether the object's properties can be imported from the specified XML document.
Export Recursively writes the stored values of all the properties of the object and its subobjects to the specified XML document.
ExportToFile Recursively writes the stored values of all the properties of the object and its subobjects to the specified XML file.
GetServiceRestartMask Retrieves a 32-bit bitmask of the FpcServices enumerated type that specifies which services need to be restarted for currently unsaved changes to take effect.
Import Recursively copies the values of all the properties of the object and of its subobjects from the specified XML document to persistent storage.
ImportFromFile Recursively copies the values of all the properties of the object and of its subobjects from the specified XML file to persistent storage.
LoadDocProperties Provides the XML document's properties so that you can know what information can be imported from the document.
Refresh Recursively reads the values of all the properties of the object and of its subobjects from persistent storage, overwriting any changes that have not been saved.
Save Recursively writes the current values of all the properties of the object and its subobjects to persistent storage.
WaitForChanges Registers to wait for an event indicating that the contents of the object have changed (for use in C and C++ programming only).

 

Properties Inherited from FPCPersist

Name Description
PersistentName Gets the persistent name of the object. The persistent name of an object is a name that is unique for the object at the respective level of the COM object hierarchy.
VendorParameterSets Gets an FPCVendorParametersSets collection that can hold sets of custom data for extending the object.

 

Interfaces for C++ Programming

This object implements the IFPCArray, IFPCEEArray, IFPCArray2, IFPCArray3, IFPCArray4, IFPCArray5, and IFPCArray6 interfaces.

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