Share via


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

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

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: [Project Web service].ProjectContextDataSet.RelationshipsRow

See Also

Reference

ProjectContextDataSet.RelationshipsDataTable Class

ProjectContextDataSet.RelationshipsDataTable Members

AddRelationshipsRow Overload

Project Web Service