Assignment.ActualOvtWorkProtected Property

Project Developer Reference

In Project 2003, returns the actual overtime work (in minutes) for an Assignment object. Read/write Variant. Not used in later versions of Project.

Syntax

expression.ActualOvtWorkProtected

expression   A variable that represents an Assignment object.

Return Value
Variant

Remarks

In Project 2007 and later versions, the ActualOvertimeWork property is synchronized with protected actuals, so the Assignment.ActualOvtWorkProtected property always returns 0. Protected actuals can only be associated with enterprise resource assignments. The ActualOvertimeWork property does not return any meaningful information for material resources. Setting a value returns a trappable error (error code 1101) when applied to material resources.

For an example that shows the cost of overtime for tasks, see the Task.ActualOvertimeWork property.

See Also