Share via


Severity Property of the IFPCAlert Interface

The Severity property gets or sets a value from the FpcAlertSeverity enumerated type that specifies the severity of the alert. The severity determines the type of event that can be recorded in the Windows event log if the alert's actions include event logging. The possible severity levels are:

  • Information
  • Warning
  • Error

C++

HRESULT put_Severity(
    FpcAlertSeverity Severity
);
HRESULT get_Severity(
    FpcAlertSeverity* pSeverity
);

Parameters

  • Severity
    Value from the FpcAlertSeverity enumerated type that specifies the severity of the alert.

  • pSeverity
    Pointer to a variable that receives a value from the FpcAlertSeverity enumerated type specifying the severity 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 Severity As FpcAlertSeverity

Property Value

Value from the FpcAlertSeverity enumerated type that specifies the severity of the alert.

Remarks

This property is read/write. Its default value is fpcAlertError, which indicates that an error event that will be recorded in the Windows event log if the alert is configured to trigger event logging.

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