Show All

# <ConstraintType> Element

The constraint on the start or finish date of the task.

Element Properties

Property | Value
--- | ---
Data Type | Integer
0 | As soon as possible
1 | As late as possible
2 | Must start on
3 | Must finish on
4 | Start no earlier than
5 | Start no later than
6 | Finish no earlier than
7 | Finish no later than
Minimum Occurrences | 0
Maximum Occurrences | 1
Default Value | N/A
Abstract | False
Nillable | False
Element Constraints | N/A

Parent Elements

<Task>

See Also

XML Schema for the <Task> Element
XML Structure for the <Task> Element

<ConstraintDate> Element

## Remarks

Requires <ConstraintDate> to be set in the same task, unless <ConstraintType> is set to 0 or 1.

©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp