MonitoringAlert.Update Method (String, MonitoringConnector)

Updated: April 16, 2012

Updates the alert and adds a comment about the update, using the specified connector. Namespace: Microsoft.EnterpriseManagement.Monitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)Dim instance As MonitoringAlert Dim comments As String Dim connector As MonitoringConnector instance.Update(comments, connector)Public Sub Update ( _ comments As String, _ connector As MonitoringConnector _ )public void Update ( string comments, MonitoringConnector connector )public: void Update ( String^ comments, MonitoringConnector^ connector )public void Update ( String comments, MonitoringConnector connector )public function Update ( comments : String, connector : MonitoringConnector )ParameterscommentsThe comment about the update.connectorThe connector on whose behalf to update the alert.

This method makes permanent any changes made to the properties of the alert. The comments are appended to the history to this alert.

Performing an Update modifies the LastModified property of the alert to the current time, LastModifiedBy property to the name of the user who performed the update, and modifies the LastModifiedByNonConnector to the current time.


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