FPCAlertActions Collection

The FPCAlertActions collection holds a set of FPCAlertAction objects. Each object in this collection defines an action that is performed whenever the alert for which Forefront TMG created the collection is issued.

The FPCAlertActions collection is accessed through the Actions property of an FPCAlert object.

Click here to see the Forefront TMG object hierarchy.

Methods

The FPCAlertActions collection defines the following methods.

Method Description

Item

Retrieves the requested FPCAlertAction object from the collection.

Refresh

Reads the values of all the properties of the collection and its elements from persistent storage, discarding any changes that were not saved.

Save

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

SetCommand

Creates a new command-line action in the collection, or updates the command-line action if it already exists, and then returns a reference to it.

SetLogEvent

Creates a new log-event action in the collection, or updates the log-event action if it already exists, and then returns a reference to it.

SetSendMail

Creates a new send-mail action in the collection, or updates the send-mail action if it already exists, and then returns a reference to it.

SetStartServices

Creates a new start-services action in the collection, or updates the start-services action if it already exists, and then returns a reference to it.

SetStopServices

Creates a new stop-services action in the collection, or updates the stop-services action if it already exists, and then returns a reference to it.

Unset

Sets the actions of the specified type to the disabled state.

Properties

The FPCAlertActions collection defines the following properties.

Property Description

_NewEnum

Gets an enumerator object for the collection.

Count

Gets the number of FPCAlertAction objects in the collection.

Interfaces for C++ Programming

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