ProjectRole Class

A ProjectRole object represents a named project role. ProjectRoles can be accessed using the Repository ProjectRole collection.

Associated table in .EAP file:     t_projectroles

ProjectRole Attributes:

Attribute

Type

Notes

Description

String

Read/Write

The project role item description.

 

Notes

String

Read/Write

Notes about the project role item.

 

ObjectType

ObjectType

Read only

Distinguishes objects referenced through a Dispatch interface.

 

Role

String

Read/Write

The project role item name.

 

ProjectRole Methods:

Method

Type

Notes

GetLastError ()

String

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

Updates the current ProjectRole object after modification or appending a new item.

If false is returned, check the GetLastError function for more information.