Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specifies the constraint type for a task.
Namespace: Microsoft.ProjectServer.Client
Assembly: Microsoft.ProjectServer.Client (in Microsoft.ProjectServer.Client.dll)
Syntax
'Declaration
Public Enumeration ConstraintType
'Usage
Dim instance As ConstraintType
public enum ConstraintType
Members
| Member name | Description | |
|---|---|---|
| NotSpecified | Value=-1. The task constraint type is not specified. This constant is used in place of a DBNull value. | |
| AsSoonAsPossible | Value=0. As soon as possible (ASAP). This is the default value. | |
| 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
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.