HP Operations Manager for Windows

OV_Message::ModifyAnnotation()
OV_Message::ModifyAnnotation_Trans()


sint32 ModifyAnnotation(
[in] sint32 AnnotationNumber,
[in] string NewText)

Parameters

AnnotationNumber
Number of the wanted annotation.
NewText
New annotation text.

Calling Convention

These methods can be called only from a WMI instance object.

Description

Modifies the text of the annotation specified by the AnnotationNumber of the selected message.

Return Value

Values
ValueMap
Values
0 = (MS900) Succeeded
-1 = (MS908) Error
-10 = (MS902) Incompatible Message State
-11 = (MS903) User Not Owner of Message
-12 = (MS904) Message is Acknowledged
-20 = (MS905) Invalid Severity Value
-21 = (MS906) Invalid Annotation Number
-22 = (MS909) User Not Creator of Annotation

Extended Status Codes

None.