MonitoringAlert.Update Method (String)
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Updates the alert and adds a comment about the update.
Namespace: Microsoft.EnterpriseManagement.Monitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Usage
'Usage
Dim instance As MonitoringAlert
Dim comments As String
instance.Update(comments)
Syntax
'Declaration
Public Sub Update ( _
comments As String _
)
public void Update (
string comments
)
public:
void Update (
String^ comments
)
public void Update (
String comments
)
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 Vista, Windows Server 2003, and
Target Platforms
See Also
Reference
MonitoringAlert Class
MonitoringAlert Members
Microsoft.EnterpriseManagement.Monitoring Namespace