ConnectorFrameworkProxy.UpdateMonitoringAlerts(Guid, String, ConnectorMonitoringAlert[]) 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.
Updates the given alerts.
public:
cli::array <Microsoft::EnterpriseManagement::ConnectorFramework::ConnectorMonitoringAlertUpdateFailure ^> ^ UpdateMonitoringAlerts(Guid connectorId, System::String ^ comments, cli::array <Microsoft::EnterpriseManagement::ConnectorFramework::ConnectorMonitoringAlert ^> ^ alertsToUpdate);
public Microsoft.EnterpriseManagement.ConnectorFramework.ConnectorMonitoringAlertUpdateFailure[] UpdateMonitoringAlerts (Guid connectorId, string comments, Microsoft.EnterpriseManagement.ConnectorFramework.ConnectorMonitoringAlert[] alertsToUpdate);
member this.UpdateMonitoringAlerts : Guid * string * Microsoft.EnterpriseManagement.ConnectorFramework.ConnectorMonitoringAlert[] -> Microsoft.EnterpriseManagement.ConnectorFramework.ConnectorMonitoringAlertUpdateFailure[]
Public Function UpdateMonitoringAlerts (connectorId As Guid, comments As String, alertsToUpdate As ConnectorMonitoringAlert()) As ConnectorMonitoringAlertUpdateFailure()
Parameters
- connectorId
- Guid
The connector id.
- comments
- String
The comments to apply to the update.
- alertsToUpdate
- ConnectorMonitoringAlert[]
The alerts to update.
Returns
An array of possible errors.
Remarks
To improve performance when updating large numbers of alerts, send no more than 1000 updated alerts in each call to the UpdateMonitoringAlerts method.