AlertQuery.GetAlertsByRuleIdCount Method
Counts the number of alerts associated with the specified rule.
public int GetAlertsByRuleIdCount(
Guid ruleId
);
Parameters
- ruleId
The rule ID.
Return Value
The matching AlertsCollection.
Requirements
Platforms: Requires Windows 2000 Server or later
Version: Requires MOM 2005 or later
Namespace: Microsoft.EnterpriseManagement.Mom
Assembly: Microsoft.Mom.Sdk (in Microsoft.Mom.Sdk.dll)