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)


Public Enumeration ConstraintType
Dim instance As Task.ConstraintType
public enum ConstraintType


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).


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

See Also


Microsoft.Office.Project.Server.Library Namespace