Microsoft Internet Security and Acceleration Server 2004 SDK

Alerts Property of IFPCArray[C++]

FPCArray.Alerts [Visual Basic]

[C++]

The Alerts property gets an FPCAlerts collection that contains objects defining all the alerts in the array.

HRESULT get_Alerts(
  IFPCAlerts** ppAlerts
);

Parameters

ppAlerts
Address of an interface pointer that on return points to an IFPCAlerts interface that represents the collection of all the alerts in the array.

Return Values

This property method returns S_OK if the call is successful; otherwise, it returns an error code.

Remarks

This property is read-only. You can add, delete, or modify the alerts for the array by calling the methods of the IFPCAlerts interface retrieved.

[Visual Basic]

The Alerts property gets an FPCAlerts collection that contains objects defining all the alerts in the array.

Property Alerts As FPCAlerts

Property Value

Reference to the FPCAlerts collection for the array.

Remarks

This property is read-only. You can add, delete, or modify the alerts for the array by calling the methods of the FPCAlerts collection retrieved.

Example Code

The following code uses the Alerts property to retrieve the name of an individual alert:

Dim root As New FPCLib.FPC
Dim alertName As String
Dim array1 As FPCArray
Set array1 = root.Arrays(1)
alertName = array1.Alerts(1).Name

Requirements

Server: Requires Windows Server 2003 or Windows 2000.
Version: Requires Internet Security and Acceleration Server 2004.
Header: Declared in Msfpccom.idl.
Library: Use Microsoft Internet Security and Acceleration Server 2004 Administration Library.

See Also

FPCArray