IOperationalDataManagement.GetPartialMonitoringAlertReader Method (MonitoringAlertCriteria, Nullable, MonitoringAlertProperty[])
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Retrieves a PartialMonitoringAlertReader object for accessing the MonitoringAlert objects in the ManagementGroup. The returned MonitoringAlert objects are scoped to the MonitoringAlertCriteria object, the last changed DateTime object, and the MonitoringAlertPropertyproperties.
Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Usage
'Usage
Dim instance As IOperationalDataManagement
Dim criteria As MonitoringAlertCriteria
Dim lastModified As Nullable(Of DateTime)
Dim properties As MonitoringAlertProperty()
Dim returnValue As PartialMonitoringAlertReader
returnValue = instance.GetPartialMonitoringAlertReader(criteria, lastModified, properties)
Syntax
'Declaration
Function GetPartialMonitoringAlertReader ( _
criteria As MonitoringAlertCriteria, _
lastModified As Nullable(Of DateTime), _
ParamArray properties As MonitoringAlertProperty() _
) As PartialMonitoringAlertReader
PartialMonitoringAlertReader GetPartialMonitoringAlertReader (
MonitoringAlertCriteria criteria,
Nullable<DateTime> lastModified,
params MonitoringAlertProperty[] properties
)
PartialMonitoringAlertReader^ GetPartialMonitoringAlertReader (
MonitoringAlertCriteria^ criteria,
Nullable<DateTime> lastModified,
... array<MonitoringAlertProperty^>^ properties
)
PartialMonitoringAlertReader GetPartialMonitoringAlertReader (
MonitoringAlertCriteria criteria,
Nullable<DateTime> lastModified,
MonitoringAlertProperty[] properties
)
function GetPartialMonitoringAlertReader (
criteria : MonitoringAlertCriteria,
lastModified : Nullable<DateTime>,
... properties : MonitoringAlertProperty[]
) : PartialMonitoringAlertReader
Parameters
- criteria
An optional MonitoringAlertCriteria object by which to scope the method. Otherwise, pass null.
- lastModified
The alert’s last changed DateTime object to which this method is scoped.
- properties
The MonitoringAlertProperty properties by which this method is to be scoped.
Return Value
Returns a PartialMonitoringAlertReader object.
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