FPCAlertActions collection
Applies to: desktop apps only
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.
Members
The FPCAlertActions collection has these types of members:
- Methods
- Properties
Methods
The FPCAlertActions collection has these 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 has these properties.
Property | Access type | Description |
---|---|---|
Read-only | Gets an enumerator object for the collection. |
|
Read-only | Gets the number of FPCAlertAction objects in the collection. |
Interfaces for C++ Programming
This collection implements the IFPCAlertActions interface.
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
Build date: 7/12/2010