次の方法で共有


ProjectDataSet.TaskRow.TASK_CONSTRAINT_TYPE Property

Indicates the type of scheduling constraint to use, with a short integer of Task.ConstraintType.

Namespace:  [Statusing Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/Statusing.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/Statusing.asmx?wsdl

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

Statusing Web Service