预订演示

请注意 : 本帮助页面不适用于最新版本的Enterprise Architect. 最新的帮助文档在这里.

前页 后页

Task Class

A Task is an entry in the System Task list. Tasks can be accessed using the Repository Tasks collection.

Associated table in repository

t_tasks

Task Attributes

Attribute

Remarks

See also

ActualTime

Long
Notes: Read/Write
The time already expended on the task, in hours, days or other units.

AssignedTo

String
Notes: Read/Write
The person this task is assigned to; that is, the responsible resource.

EndDate

Date
Notes: Read/Write
The date the task is scheduled to finish.

History

String
Notes: Read/Write
A memo field to hold, for example, task history or notes.

Name

Variant
Notes: Read/Write
The task name.

Notes

Variant
Notes: Read/Write
A description of the task.

ObjectType

ObjectType
Notes: Read only
Distinguishes objects referenced through a Dispatch interface.
ObjectType

Owner

String
Notes: Read/Write
The task owner.

Percent

Long
Notes: Read/Write
The percentage completion of the task.

Phase

String
Notes: Read/Write
The phase of the project the task relates to.

Priority

String
Notes: Read/Write
The priority of this task.

StartDate

Date
Notes: Read/Write
The date the task is to start.

Status

Variant
Notes: Read/Write
The current status of the task.

TaskID

Long
Notes: Read only
The local ID of the task.

TotalTime

Long
Notes: Read/Write
The total expected time the task might run, in hours, days or some other unit.

Type

String
Notes: Read/Write
Sets or returns a string representing the type.

Task Methods

Method

Type

See also

GetLastError()

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

Update()

Boolean
Notes: Updates the current Task object after modification or appending a new item.
If False is returned, check the 'GetLastError()' function for more information.