IOperationalDataManagement.GetMonitoringAlertReader Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves a MonitoringAlertReader object that reads alerts.
Overloads
GetMonitoringAlertReader(MonitoringAlertCriteria, Nullable<DateTime>) |
Retrieves all the MonitoringAlert objects in the management group. |
GetMonitoringAlertReader(MonitoringAlertCriteria, ManagementPackClass, TraversalDepth, Nullable<DateTime>) |
Retrieves all the MonitoringAlert objects in the management group. |
GetMonitoringAlertReader(Guid, MonitoringAlertCriteria, TraversalDepth, Nullable<DateTime>) |
Gets alerts for an instance. |
GetMonitoringAlertReader(Guid, MonitoringAlertCriteria, ManagementPackClass, TraversalDepth, Nullable<DateTime>) |
Gets alerts for an instance. |
GetMonitoringAlertReader(MonitoringAlertCriteria, Nullable<DateTime>)
Retrieves all the MonitoringAlert objects in the management group.
public:
Microsoft::EnterpriseManagement::Monitoring::MonitoringAlertReader ^ GetMonitoringAlertReader(Microsoft::EnterpriseManagement::Monitoring::MonitoringAlertCriteria ^ criteria, Nullable<DateTime> lastModified);
public Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertReader GetMonitoringAlertReader (Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertCriteria criteria, DateTime? lastModified);
abstract member GetMonitoringAlertReader : Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertCriteria * Nullable<DateTime> -> Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertReader
Public Function GetMonitoringAlertReader (criteria As MonitoringAlertCriteria, lastModified As Nullable(Of DateTime)) As MonitoringAlertReader
Parameters
- criteria
- MonitoringAlertCriteria
The criteria to scope the method by.
Returns
A collection of fully populated MonitoringAlert objects.
Applies to
GetMonitoringAlertReader(MonitoringAlertCriteria, ManagementPackClass, TraversalDepth, Nullable<DateTime>)
Retrieves all the MonitoringAlert objects in the management group.
public:
Microsoft::EnterpriseManagement::Monitoring::MonitoringAlertReader ^ GetMonitoringAlertReader(Microsoft::EnterpriseManagement::Monitoring::MonitoringAlertCriteria ^ criteria, Microsoft::EnterpriseManagement::Configuration::ManagementPackClass ^ managementPackClass, Microsoft::EnterpriseManagement::Common::TraversalDepth traversalDepth, Nullable<DateTime> lastModified);
public Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertReader GetMonitoringAlertReader (Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertCriteria criteria, Microsoft.EnterpriseManagement.Configuration.ManagementPackClass managementPackClass, Microsoft.EnterpriseManagement.Common.TraversalDepth traversalDepth, DateTime? lastModified);
abstract member GetMonitoringAlertReader : Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertCriteria * Microsoft.EnterpriseManagement.Configuration.ManagementPackClass * Microsoft.EnterpriseManagement.Common.TraversalDepth * Nullable<DateTime> -> Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertReader
Public Function GetMonitoringAlertReader (criteria As MonitoringAlertCriteria, managementPackClass As ManagementPackClass, traversalDepth As TraversalDepth, lastModified As Nullable(Of DateTime)) As MonitoringAlertReader
Parameters
- criteria
- MonitoringAlertCriteria
The criteria to scope the method by.
- managementPackClass
- ManagementPackClass
The monitoring class, and all its derived classes, to scope the method by.
- traversalDepth
- TraversalDepth
The traversal depth for instances. One level implies just the instance of the given class, recursive is all instances contained by those instances as well.
Returns
A collection of fully populated MonitoringAlert objects.
Applies to
GetMonitoringAlertReader(Guid, MonitoringAlertCriteria, TraversalDepth, Nullable<DateTime>)
Gets alerts for an instance.
public:
Microsoft::EnterpriseManagement::Monitoring::MonitoringAlertReader ^ GetMonitoringAlertReader(Guid id, Microsoft::EnterpriseManagement::Monitoring::MonitoringAlertCriteria ^ criteria, Microsoft::EnterpriseManagement::Common::TraversalDepth traversalDepth, Nullable<DateTime> lastModified);
public Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertReader GetMonitoringAlertReader (Guid id, Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertCriteria criteria, Microsoft.EnterpriseManagement.Common.TraversalDepth traversalDepth, DateTime? lastModified);
abstract member GetMonitoringAlertReader : Guid * Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertCriteria * Microsoft.EnterpriseManagement.Common.TraversalDepth * Nullable<DateTime> -> Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertReader
Public Function GetMonitoringAlertReader (id As Guid, criteria As MonitoringAlertCriteria, traversalDepth As TraversalDepth, lastModified As Nullable(Of DateTime)) As MonitoringAlertReader
Parameters
- id
- Guid
- criteria
- MonitoringAlertCriteria
- traversalDepth
- TraversalDepth
Returns
The alerts for the instance.
Applies to
GetMonitoringAlertReader(Guid, MonitoringAlertCriteria, ManagementPackClass, TraversalDepth, Nullable<DateTime>)
Gets alerts for an instance.
public:
Microsoft::EnterpriseManagement::Monitoring::MonitoringAlertReader ^ GetMonitoringAlertReader(Guid id, Microsoft::EnterpriseManagement::Monitoring::MonitoringAlertCriteria ^ criteria, Microsoft::EnterpriseManagement::Configuration::ManagementPackClass ^ managementPackClass, Microsoft::EnterpriseManagement::Common::TraversalDepth traversalDepth, Nullable<DateTime> lastModified);
public Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertReader GetMonitoringAlertReader (Guid id, Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertCriteria criteria, Microsoft.EnterpriseManagement.Configuration.ManagementPackClass managementPackClass, Microsoft.EnterpriseManagement.Common.TraversalDepth traversalDepth, DateTime? lastModified);
abstract member GetMonitoringAlertReader : Guid * Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertCriteria * Microsoft.EnterpriseManagement.Configuration.ManagementPackClass * Microsoft.EnterpriseManagement.Common.TraversalDepth * Nullable<DateTime> -> Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertReader
Public Function GetMonitoringAlertReader (id As Guid, criteria As MonitoringAlertCriteria, managementPackClass As ManagementPackClass, traversalDepth As TraversalDepth, lastModified As Nullable(Of DateTime)) As MonitoringAlertReader
Parameters
- id
- Guid
- criteria
- MonitoringAlertCriteria
- managementPackClass
- ManagementPackClass
- traversalDepth
- TraversalDepth
Returns
The alerts for the instance.