Topic
Prev Next

Resource Class

An Element Resource is a named person/task pair with timing constraints and percent complete indicators. Use this to manage the work associated with delivering an Element.

Associated table in .EAP file

t_objectresources

Resource Attributes

Attribute

Description

See also

ActualHours

Long

Notes: Read/Write

The time already expended on the task, in hours, days or other units.

DateEnd

Date

Notes: Read/Write

The expected end date.

DateStart

Date

Notes: Read/Write

The date to start work.

ExpectedHours

Long

Notes: Read/Write

The total expected time the task might run, in hours, days or other units.

History

String

Notes: Read/Write

Gets or sets history text.

Name

String

Notes: Read/Write

The name of the resource (for example, a person's name).

Notes

String

Notes: Read/Write

Descriptive notes.

ObjectType

ObjectType

Notes: Read only

Distinguishes objects referenced through a Dispatch interface.

ObjectType

PercentComplete

Long

Notes: Read/Write

The current percent complete figure.

Role

String

Notes: Read/Write

The role the resource plays in implementing the element.

Time

Long

Notes: Read/Write

The time expected to complete the task; a numeric indicating the number of days.

Resource Methods

Method

Description

See also

GetLastError()

String

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

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

Update()

Boolean

Notes: Update the current Resource object after modification or appending a new item.

If False is returned, check the 'GetLastError()' function for more information.