Updates the alert and adds a comment about the update. Namespace: Microsoft.EnterpriseManagement.Monitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

Visual Basic
Dim instance As MonitoringAlert
Dim comments As String

instance.Update(comments)

Syntax

Visual Basic
Public Sub Update ( _
		comments As String _
)
C#
public void Update (
		string comments
)
C++
public:
void Update (
		String^ comments
)
J#
public void Update (
		String comments
)
JScript
public function Update (
		comments : String
)

Parameters

comments

The 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.


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 Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also