ConnectorFrameworkProxy.UpdateMonitoringAlerts Method
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
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)
Usage
'Usage
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)
Syntax
'Declaration
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[]
Parameters
- connectorId
The globally unique identifier (GUID) for the monitoring connector to update alerts for.
- comments
Comments to apply to the update.
- alertsToUpdate
An array of ConnectorMonitoringAlert objects to update.
Return Value
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.
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
ConnectorFrameworkProxy Class
ConnectorFrameworkProxy Members
Microsoft.EnterpriseManagement.ConnectorFramework Namespace