Compartir a través de


ProjectContextDataSet.RelationshipsRow.Relationship Property

Represents how the project is related.

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 Property Relationship As Byte
    Get
    Set
'Usage
Dim instance As ProjectContextDataSet.RelationshipsRow
Dim value As Byte

value = instance.Relationship

instance.Relationship = value
public byte Relationship { get; set; }

Property Value

Type: System.Byte

Remarks

Byte Value

Name

Description

0

None

There is no relationship.

1

Direct

The project contains a specified resource.

2

Shared

The project shares a resource with a specified project.

3

Indirect

The project does not directly have a cross-project relationship with a specified project, and it does not directly contain a specified resource. The project does share resources or have a cross-project relationship with a project that does contain a specified resource.

4

CrossProject

The project has a cross-project link with a specified project.

See Also

Reference

ProjectContextDataSet.RelationshipsRow Class

ProjectContextDataSet.RelationshipsRow Members

Project Web Service