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:

[C++]
HRESULT put_Severity(
	FpcAlertSeverity Severity
);
HRESULT get_Severity(
	FpcAlertSeverity* pSeverity
);

Parameters

pSeverity

Pointer to a variable that receives a value from the FpcAlertSeverity enumerated type specifying the severity of the alert.

Severity

Value from the FpcAlertSeverity enumerated type that specifies 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 Vista or Windows XP.
Server Requires Windows Server 2008.
Version Requires Forefront Threat Management Gateway (TMG).
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCAlert


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.