Share via


IFPCAlert::Severity property

Applies to: desktop apps only

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

This property is read/write.

Syntax

HRESULT put_Severity(
  FpcAlertSeverity Severity
);

HRESULT get_Severity(
  FpcAlertSeverity *pSeverity
);
' Data type: FpcAlertSeverity

Property Severity( _
  ByVal Severity As FpcAlertSeverity, _
  ByVal pSeverity As FpcAlertSeverity _
) As FpcAlertSeverity

Property value

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

Error codes

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

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

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

FPCAlert

 

 

Build date: 7/12/2010