HP Operations Manager for Windows

OV_Message::AddAnnotation()
OV_Message::AddAnnotation_Trans()


sint32 AddAnnotation(
[in] string Text)

Parameters

Text
Text of the annotation to be added.

Calling Convention

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

Description

Adds an annotation to 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

Extended Status Codes

None.