Export (0) Print
Expand All
Expand Minimize

ConstraintType enumeration

Office 2013

Specifies the constraint type for a task.

Namespace:  Microsoft.ProjectServer.Client
Assembly:  Microsoft.ProjectServer.Client (in Microsoft.ProjectServer.Client.dll)

public enum ConstraintType

Member nameDescription
NotSpecifiedValue=-1. The task constraint type is not specified. This constant is used in place of a DBNull value.
AsSoonAsPossibleValue=0. As soon as possible (ASAP). This is the default value.
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).

The ConstraintType enumeration in the CSOM is equivalent to Task.ConstraintType in the Microsoft.Office.Project.Server.Library namespace. The ConstraintType constants can be used with the DraftTask.ConstraintType property and the PublishedTask.ConstraintType property.

Community Additions

ADD
Show:
© 2014 Microsoft