Share via


ProjectContextDataSet.RelationshipsDataTable.AddRelationshipsRow method (Guid, Guid, String, Byte, Boolean)

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

Syntax

'Declaration
Public Function AddRelationshipsRow ( _
    PROJ_UID As Guid, _
    RelatedTo_UID As Guid, _
    RelatedTo_NAME As String, _
    Relationship As Byte, _
    HasBuildTeamPermission As Boolean _
) As ProjectContextDataSet.RelationshipsRow
'Usage
Dim instance As ProjectContextDataSet.RelationshipsDataTable
Dim PROJ_UID As Guid
Dim RelatedTo_UID As Guid
Dim RelatedTo_NAME As String
Dim Relationship As Byte
Dim HasBuildTeamPermission As Boolean
Dim returnValue As ProjectContextDataSet.RelationshipsRow

returnValue = instance.AddRelationshipsRow(PROJ_UID, _
    RelatedTo_UID, RelatedTo_NAME, Relationship, _
    HasBuildTeamPermission)
public ProjectContextDataSet.RelationshipsRow AddRelationshipsRow(
    Guid PROJ_UID,
    Guid RelatedTo_UID,
    string RelatedTo_NAME,
    byte Relationship,
    bool HasBuildTeamPermission
)

Parameters

  • PROJ_UID
    Type: System.Guid

    Contains the project GUID.

  • RelatedTo_UID
    Type: System.Guid

    Contains the GUID of the related project.

  • RelatedTo_NAME
    Type: System.String

    Contains the name of the related project.

  • Relationship
    Type: System.Byte

    Specifies how the project is related.

  • HasBuildTeamPermission
    Type: System.Boolean

    Specifies whether the current user has the AssignResource and BuildTeamOnProject category permissions

Return value

Type: WebSvcProject.ProjectContextDataSet.RelationshipsRow

See also

Reference

ProjectContextDataSet.RelationshipsDataTable class

ProjectContextDataSet.RelationshipsDataTable members

AddRelationshipsRow overload

WebSvcProject namespace