ConnectorFrameworkProxy.UpdateMonitoringAlerts Method

Updated: April 16, 2012

Updates the alerts, including the alert history, to the System Center Operation Manager. The comments are part of the alert history. Namespace: Microsoft.EnterpriseManagement.ConnectorFramework
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)Dim instance As ConnectorFrameworkProxy Dim connectorId As Guid Dim comments As String Dim alertsToUpdate As ConnectorMonitoringAlert() Dim returnValue As ConnectorMonitoringAlertUpdateFailure() returnValue = instance.UpdateMonitoringAlerts(connectorId, comments, alertsToUpdate)Public Function UpdateMonitoringAlerts ( _ connectorId As Guid, _ comments As String, _ alertsToUpdate As ConnectorMonitoringAlert() _ ) As ConnectorMonitoringAlertUpdateFailure()public ConnectorMonitoringAlertUpdateFailure[] UpdateMonitoringAlerts ( Guid connectorId, string comments, ConnectorMonitoringAlert[] alertsToUpdate )public: array<ConnectorMonitoringAlertUpdateFailure^>^ UpdateMonitoringAlerts ( Guid connectorId, String^ comments, array<ConnectorMonitoringAlert^>^ alertsToUpdate )public ConnectorMonitoringAlertUpdateFailure[] UpdateMonitoringAlerts ( Guid connectorId, String comments, ConnectorMonitoringAlert[] alertsToUpdate )public function UpdateMonitoringAlerts ( connectorId : Guid, comments : String, alertsToUpdate : ConnectorMonitoringAlert[] ) : ConnectorMonitoringAlertUpdateFailure[]ParametersconnectorIdThe globally unique identifier (GUID) for the monitoring connector to update alerts for.commentsComments to apply to the update.alertsToUpdateAn array of ConnectorMonitoringAlert objects to update.Return ValueReturns an Array of ConnectorMonitoringAlertUpdateFailure objects that contain possible errors that occurred during the update.

To improve performance when updating large numbers of alerts, send no more than 1000 updated alerts in each call to the UpdateMonitoringAlerts method.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms