Export (0) Print
Expand All

IFPCArray::Alerts property

Applies to: desktop apps only

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

This property is read-only.

Syntax


HRESULT get_Alerts(
  IFPCAlerts **ppAlerts
);

Property value

Reference to the FPCAlerts collection for the array.

Error codes

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 FPCAlerts collection retrieved (the IFPCAlerts interface retrieved in C++).

Examples

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

Minimum supported client

Windows Vista

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

DLL

Msfpccom.dll

See also

FPCArray

 

 

Build date: 7/12/2010

Community Additions

ADD
Show:
© 2015 Microsoft