Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)
Usage
| Visual Basic |
|---|
Dim instance As MonitoringAlert Dim comments As String Dim connector As MonitoringConnector instance.Update(comments, connector) |
Syntax
| Visual Basic |
|---|
Public Sub Update ( _ comments As String, _ connector As MonitoringConnector _ ) |
| C# |
|---|
public void Update ( string comments, MonitoringConnector connector ) |
| C++ |
|---|
public: void Update ( String^ comments, MonitoringConnector^ connector ) |
| J# |
|---|
public void Update ( String comments, MonitoringConnector connector ) |
| JScript |
|---|
public function Update ( comments : String, connector : MonitoringConnector ) |
Parameters
- comments
-
The comment about the update.
- connector
-
The connector on whose behalf to update the alert.
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.

