AlertQuery.GetAlertsByResolutionStateIdAndComputerCount Method
Counts the number of alerts that have the specified resolution state and computer association.
public int GetAlertsByResolutionStateIdAndComputerCount(
Byte resolutionStateId,
String computerName,
String computerDomain
);
Parameters
- resolutionStateId
The resolution state ID. - computerName
The name of the computer associated with the alert. - computerDomain
The domain name of the computer associated with the alert.
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)