MonitoringAlert.Update Method (String)
Applies To: Operations Manager for System Center 2012
Updates the alert and adds a comment about the update.
Namespace: Microsoft.EnterpriseManagement.Monitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
public void Update(
string comments
)
public:
void Update(
String^ comments
)
member Update :
comments:string -> unit
Public Sub Update (
comments As String
)
Parameters
comments
Type: System.StringThe comment about the update.
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