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 enum ConstraintType

Member nameDescription
AsSoonAsPossibleValue=0. As soon as possible (ASAP).
AsLateAsPossibleValue=1. As late as possible (ALAP).
MustStartOnValue=2. Must start on (MSO).
MustFinishOnValue=3. Must finish on (MFO).
StartNoEarlierThanValue=4. Start no earlier than (SNET).
StartNoLaterThanValue=5. Start no later than (SNLT).
FinishNoEarlierThanValue=6. Finish no earlier than (FNET).
FinishNoLaterThanValue=7. Finish no later than (FNLT).

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

Community Additions