Share via


ProjectDataSet.DependencyDataTable.AddDependencyRow method (Guid, Guid, Guid, Guid, Int32, Int32, Int32)

Adds a DependencyRow object to the DependencyDataTable.by using separate parameters.

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

Syntax

'Declaration
Public Function AddDependencyRow ( _
    LINK_UID As Guid, _
    PROJ_UID As Guid, _
    LINK_PRED_UID As Guid, _
    LINK_SUCC_UID As Guid, _
    LINK_TYPE As Integer, _
    LINK_LAG As Integer, _
    LINK_LAG_FMT As Integer _
) As ProjectDataSet.DependencyRow
'Usage
Dim instance As ProjectDataSet.DependencyDataTable
Dim LINK_UID As Guid
Dim PROJ_UID As Guid
Dim LINK_PRED_UID As Guid
Dim LINK_SUCC_UID As Guid
Dim LINK_TYPE As Integer
Dim LINK_LAG As Integer
Dim LINK_LAG_FMT As Integer
Dim returnValue As ProjectDataSet.DependencyRow

returnValue = instance.AddDependencyRow(LINK_UID, _
    PROJ_UID, LINK_PRED_UID, LINK_SUCC_UID, _
    LINK_TYPE, LINK_LAG, LINK_LAG_FMT)
public ProjectDataSet.DependencyRow AddDependencyRow(
    Guid LINK_UID,
    Guid PROJ_UID,
    Guid LINK_PRED_UID,
    Guid LINK_SUCC_UID,
    int LINK_TYPE,
    int LINK_LAG,
    int LINK_LAG_FMT
)

Parameters

  • LINK_UID
    Type: System.Guid

    Contains the dependency GUID.

  • PROJ_UID
    Type: System.Guid

    Contains the project GUID.

  • LINK_PRED_UID
    Type: System.Guid

    Contains the GUID of the predecessor task in the dependency.

  • LINK_SUCC_UID
    Type: System.Guid

    Contains the GUID of the successor task in the dependency.

  • LINK_TYPE
    Type: System.Int32

    Specifies the type of dependency to establish between two tasks.

  • LINK_LAG
    Type: System.Int32

    Specifies the amount of time to wait between the tasks in the dependency.

  • LINK_LAG_FMT
    Type: System.Int32

    Specifies the display format for the dependency lag duration.

Return value

Type: WebSvcProject.ProjectDataSet.DependencyRow

Remarks

In general, developers should use the AddDependencyRow overload.

See also

Reference

ProjectDataSet.DependencyDataTable class

ProjectDataSet.DependencyDataTable members

AddDependencyRow overload

WebSvcProject namespace