Category Property of the IFPCAlert Interface

The Category property gets or sets a value from the FpcAlertCategory enumerated type that specifies the category of the alert. The possible categories are:

  • A security alert
  • A cache alert
  • A routing alert
  • A Microsoft Firewall service alert
  • A Network Load Balancing alert
  • An other or user-defined alert

C++

HRESULT put_Category(
    FpcAlertCategory Category
);
HRESULT get_Category(
    FpcAlertCategory* pCategory
);

Parameters

  • Category
    Value from the FpcAlertCategory enumerated type that specifies the category of the alert.

  • pCategory
    Pointer to a variable that on return receives a value from the FpcAlertCategory enumerated type specifying the category of the alert.

Return Value

These property methods return S_OK if the call is successful; otherwise, they return an error code.

Visual Basic

Property Category As FpcAlertCategory

Property Value

Value from the FpcAlertCategory enumerated type that specifies the category of the alert.

Remarks

This property is read/write. Its default value is fpcSecurityAlerts, which indicates that the alert is a security alert.

Requirements

Client Requires Windows 7 or Windows Vista.
Server Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2.
Version Requires Forefront Threat Management Gateway (TMG) 2010.
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCAlert

Send comments about this topic to Microsoft

Build date: 6/30/2010