共用方式為


ProjectContextDataSet.RelationshipsRow.Relationship 屬性

代表專案相關的方式。

命名空間:  WebSvcProject
組件:  ProjectServerServices (在 ProjectServerServices.dll 中)

語法

'宣告
Public Property Relationship As Byte
    Get
    Set
'用途
Dim instance As ProjectContextDataSet.RelationshipsRow
Dim value As Byte

value = instance.Relationship

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

屬性值

類型:System.Byte

備註

Byte 值

名稱

描述

0

沒有任何關係。

1

直接

專案中包含指定的資源。

2

共用

專案與指定的專案共用資源。

3

間接

專案直接沒有跨專案關係,以指定的專案,而且沒有直接包含指定的資源。專案沒有共用資源,或有跨專案關係與沒有包含指定之的資源的專案。

4

CrossProject

專案具有與指定之專案的跨專案連結。

請參閱

參照

ProjectContextDataSet.RelationshipsRow 類別

ProjectContextDataSet.RelationshipsRow 成員

WebSvcProject 命名空間