IOperationalDataManagement.UpdateMonitoringAlerts Method (IList, String, MonitoringConnector)
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Updates a specified collection of monitoring alerts for a specified connector and explains the update.
Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Usage
'Usage
Dim instance As IOperationalDataManagement
Dim alerts As IList(Of T)
Dim comments As String
Dim connector As MonitoringConnector
Dim returnValue As IList(Of MonitoringAlertUpdateFailure)
returnValue = instance.UpdateMonitoringAlerts(alerts, comments, connector)
Syntax
'Declaration
Function UpdateMonitoringAlerts(Of T As MonitoringAlert) ( _
alerts As IList(Of T), _
comments As String, _
connector As MonitoringConnector _
) As IList(Of MonitoringAlertUpdateFailure)
IList<MonitoringAlertUpdateFailure> UpdateMonitoringAlerts<T> (
IList<T> alerts,
string comments,
MonitoringConnector connector
) where T : MonitoringAlert
generic<typename T> where T : MonitoringAlert
IList<MonitoringAlertUpdateFailure^>^ UpdateMonitoringAlerts (
IList<T>^ alerts,
String^ comments,
MonitoringConnector^ connector
)
GenericParameters
- T
Must be of type PartialMonitoringObject.
Parameters
- alerts
The collection of alerts to update.
- comments
The comments that explain the reason for the update.
- connector
The connector for which to update the alerts.
Return Value
Returns a IList.
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