Поделиться через


ProjectDataSet.TaskRow.TASK_CONSTRAINT_TYPE Property

A short integer of Task.ConstraintType indicating the type of scheduling constraint to use.

Namespace:  WebSvcProject
Assembly:  ProjectServerWebServices (in ProjectServerWebServices.dll)

Syntax

'Declaration
Public Property TASK_CONSTRAINT_TYPE As Short
    Get
    Set
'Usage
Dim instance As ProjectDataSet.TaskRow
Dim value As Short

value = instance.TASK_CONSTRAINT_TYPE

instance.TASK_CONSTRAINT_TYPE = value
public short TASK_CONSTRAINT_TYPE { get; set; }

Property Value

Type: System.Int16

Remarks

You must cast Task.ConstraintType to a short when assigning a value to this field.

Some values require a valid date in TASK_CONSTRAINT_DATE as indicated in the following table.

Short Value

Abbreviation

Description

TASK_CONSTRAINT_DATE required

0

ASAP

As soon as possible

No

1

ALAP

As late as possible

No

2

MSO

Must start on

Yes

3

MFO

Must finish on

Yes

4

SNET

Start no earlier than

Yes

5

SNLT

Start no later than

Yes

6

FNET

Finish no earlier than

Yes

7

FNLT

Finish no later than

Yes

See Also

Reference

ProjectDataSet.TaskRow Class

ProjectDataSet.TaskRow Members

WebSvcProject Namespace