DependencyType enumeration
Specifies the type of dependency to establish between two tasks.
Namespace: Microsoft.ProjectServer.Client
Assembly: Microsoft.ProjectServer.Client (in Microsoft.ProjectServer.Client.dll)
Syntax
'Declaration
Public Enumeration DependencyType
'Usage
Dim instance As DependencyType
public enum DependencyType
Members
Member name | Description | |
---|---|---|
FinishFinish | Value=0. Finish to finish (FF) task link type. The successor task B cannot finish until the predecessor task A finishes. | |
FinishStart | Value=1. This is the default value. Finish to start (FS) task link type. The predecessor task A must finish before the successor task B can start. | |
StartFinish | Value=2. Start to finish (SF) task link type. The predecessor task A must start before the successor task B finishes. This is the least common of the four dependency types. | |
StartStart | Value=3. Start to start (SS) task link type. The successor task B cannot start until the predecessor task A starts. |
Remarks
For an example of the SF task dependency type, in a scenario where you are setting a fence post, the successor task B is Pour Cement and the predecessor task A is Set Post.
The successor (Pour Cement) must start first; however, the predecessor (Set Post) must finish before the successor (Pour Cement) finishes.
The DependencyType enumeration in the CSOM is equivalent to the LINK_TYPE property in the Project service. The DependencyType constants can be used with the following properties: