IOperationalDataManagement.GetMonitoringAlertsCount Method (Guid, MonitoringAlertCriteria, ManagementPackClass, TraversalDepth)
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Usage
'Usage
Dim instance As IOperationalDataManagement
Dim instanceId As Guid
Dim criteria As MonitoringAlertCriteria
Dim managementPackClass As ManagementPackClass
Dim traversalDepth As TraversalDepth
Dim returnValue As Integer
returnValue = instance.GetMonitoringAlertsCount(instanceId, criteria, managementPackClass, traversalDepth)
Syntax
'Declaration
Function GetMonitoringAlertsCount ( _
instanceId As Guid, _
criteria As MonitoringAlertCriteria, _
managementPackClass As ManagementPackClass, _
traversalDepth As TraversalDepth _
) As Integer
int GetMonitoringAlertsCount (
Guid instanceId,
MonitoringAlertCriteria criteria,
ManagementPackClass managementPackClass,
TraversalDepth traversalDepth
)
int GetMonitoringAlertsCount (
Guid instanceId,
MonitoringAlertCriteria^ criteria,
ManagementPackClass^ managementPackClass,
TraversalDepth traversalDepth
)
int GetMonitoringAlertsCount (
Guid instanceId,
MonitoringAlertCriteria criteria,
ManagementPackClass managementPackClass,
TraversalDepth traversalDepth
)
function GetMonitoringAlertsCount (
instanceId : Guid,
criteria : MonitoringAlertCriteria,
managementPackClass : ManagementPackClass,
traversalDepth : TraversalDepth
) : int
Parameters
- instanceId
- criteria
- managementPackClass
- traversalDepth
Return Value
Returns Int32.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Vista, Windows Server 2003, and
Target Platforms
See Also
Reference
IOperationalDataManagement Interface
IOperationalDataManagement Members
Microsoft.EnterpriseManagement Namespace