Risk

Return to Introduction  Previous page  Next page

public Class

A Risk object represents a named risk associated with an element and is used for project management purposes. Accessed through the Element Risks collection.

Associated table in .EAP file: t_objectrisks

Risk Attributes

Attribute

Type

Notes

Name

String

Read/Write.  The risk.

Type

String

Read/Write.  The risk type associated with this element.

Weight

Long

Read/Write.  A weighting for estimation or metric purposes.

Notes

String

Read/Write.  Further notes describing the risk.

ObjectType

ObjectType

Read only.  Distinguishes objects referenced through a Dispatch interface.

Risk Methods

Method

Type

Notes

Update ()

Boolean 

Update the current Risk object after modification or appending a new item. If false is returned, check the GetLastError function for more information.

GetLastError ()

String

Returns a string value describing the most recent error that occurred in relation to this object.

This function is rarely used since an exception is thrown when an error occurs.