MinEventsPerSecond Property of the IFPCAlert Interface
The MinEventsPerSecond property gets or sets the minimal frequency of occurrences of the event for which the alert is issued before the alert can be issued.
The MinutesBeforeReRaise, EventsBeforeRaise, and MinEventsPerSecond properties set the three thresholds that the Microsoft Firewall service uses to issue alerts. For each alert, the 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.
The MinEventsPerSecond property sets the event frequency threshold.
C++
HRESULT put_MinEventsPerSecond(
long lThreshold
);
HRESULT get_MinEventsPerSecond(
long* plThreshold
);
Parameters
lThreshold
A 32-bit integer that specifies the event frequency threshold.plThreshold
Pointer to a variable that on return receives a 32-bit integer specifying the event frequency threshold.
Return Value
These property methods return S_OK if the call is successful; otherwise, they return an error code.
Visual Basic
Property MinEventsPerSecond As Long
Property Value
A 32-bit integer that specifies the event frequency threshold.
Remarks
This property is read/write. Its default value is specified by the value of the MinEventsPerSecond property of the applicable FPCEventDefinition object, and its range of permissible values is from 0 through 999,999,999.
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
Send comments about this topic to Microsoft
Build date: 6/30/2010