Partager via


ConnectorFrameworkProxy.UpdateMonitoringAlerts Method (Guid, String, ConnectorMonitoringAlert[])

 

Applies To: Operations Manager for System Center 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)

Syntax

public ConnectorMonitoringAlertUpdateFailure[] UpdateMonitoringAlerts(
    Guid connectorId,
    string comments,
    ConnectorMonitoringAlert[] alertsToUpdate
)
public:
array<ConnectorMonitoringAlertUpdateFailure^>^ UpdateMonitoringAlerts(
    Guid connectorId,
    String^ comments,
    array<ConnectorMonitoringAlert^>^ alertsToUpdate
)
member UpdateMonitoringAlerts : 
        connectorId:Guid *
        comments:string *
        alertsToUpdate:ConnectorMonitoringAlert[] -> ConnectorMonitoringAlertUpdateFailure[]
Public Function UpdateMonitoringAlerts (
    connectorId As Guid,
    comments As String,
    alertsToUpdate As ConnectorMonitoringAlert()
) As ConnectorMonitoringAlertUpdateFailure()

Parameters

  • connectorId
    Type: System.Guid

    The globally unique identifier (GUID) for the monitoring connector to update alerts for.

Return Value

Type: Microsoft.EnterpriseManagement.ConnectorFramework.ConnectorMonitoringAlertUpdateFailure[]

Returns an Array of ConnectorMonitoringAlertUpdateFailure objects that contain possible errors that occurred during the update.

Remarks

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

See Also

ConnectorFrameworkProxy Class
Microsoft.EnterpriseManagement.ConnectorFramework Namespace

Return to top