Partager via


Task.ConstraintType Enumeration

Specifies the constraint type for a task.

Namespace:  Microsoft.Office.Project.Server.Library
Assembly:  Microsoft.Office.Project.Server.Library (in Microsoft.Office.Project.Server.Library.dll)

Syntax

'Declaration
Public Enumeration ConstraintType
'Usage
Dim instance As Task.ConstraintType
public enum ConstraintType

Members

Member name Description
AsSoonAsPossible Value=0. As soon as possible (ASAP).
AsLateAsPossible Value=1. As late as possible (ALAP).
MustStartOn Value=2. Must start on (MSO).
MustFinishOn Value=3. Must finish on (MFO).
StartNoEarlierThan Value=4. Start no earlier than (SNET).
StartNoLaterThan Value=5. Start no later than (SNLT).
FinishNoEarlierThan Value=6. Finish no earlier than (FNET).
FinishNoLaterThan Value=7. Finish no later than (FNLT).

Remarks

Use the Task.ConstraintType type to set the TASK_CONSTRAINT_TYPE property in a ProjectDataSet.TaskRow object.

See Also

Reference

Microsoft.Office.Project.Server.Library Namespace