MonitoringAlert.Update Method (String, MonitoringConnector)

 

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

Syntax

public void Update(
    string comments,
    MonitoringConnector connector
)
public:
void Update(
    String^ comments,
    MonitoringConnector^ connector
)
member Update : 
        comments:string *
        connector:MonitoringConnector -> unit
Public Sub Update (
    comments As String,
    connector As MonitoringConnector
)

Parameters

Remarks

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.

See Also

Update Overload
MonitoringAlert Class
Microsoft.EnterpriseManagement.Monitoring Namespace

Return to top