IFPCEventDefinition::MinEventsPerSecond property
Applies to: desktop apps only
The MinEventsPerSecond property gets or sets the default number of times in a second that the event must be signaled before an alert that is issued for the event can be issued.
This property is read/write.
Syntax
HRESULT put_MinEventsPerSecond(
long lThreshold
);
HRESULT get_MinEventsPerSecond(
long *plThreshold
);
' Data type: Long
Property MinEventsPerSecond( _
ByVal lThreshold As long, _
ByVal plThreshold As long _
) As Long
Property value
A 32-bit integer that specifies the event frequency threshold.
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 0, and its range of permissible values is from 0 through 999,999,999.
This property only establishes a default value for alerts associated with the event. When you create an alert, the alert can use the default value, or you can overwrite it with values specific to the alert by modifying the corresponding property in the FPCAlert object.
The MinutesBeforeReRaise, EventsBeforeRaise, and MinEventsPerSecond properties of the FPCAlert object set the three thresholds that the Microsoft Firewall service uses to issue alerts. For each alert, the Microsoft Firewall service stores the time when the event last occurred, a count of how many times the event has occurred per second, and a count of the total number of times that the event has occurred. An alert is issued and the alert invokes the actions defined for it only when the three threshold requirements for issuing the alert are met simultaneously.
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
Build date: 7/12/2010