共用方式為


ProjectContext.EntityTypes 屬性

透過 CSOM 取得公開的 Project Server 實體的類型。

命名空間:  Microsoft.ProjectServer.Client
組件:  Microsoft.ProjectServer.Client (在 Microsoft.ProjectServer.Client.dll 中)

語法

'宣告
Public ReadOnly Property EntityTypes As EntityTypes
    Get
'用途
Dim instance As ProjectContext
Dim value As EntityTypes

value = instance.EntityTypes
public EntityTypes EntityTypes { get; }

屬性值

類型:Microsoft.ProjectServer.Client.EntityTypes
EntityType物件。

備註

Project Server 實體類型包括專案、 企業資源、 任務、 工作分派、 自訂欄位,等等。

請參閱

參照

ProjectContext 類別

ProjectContext 成員

Microsoft.ProjectServer.Client 命名空間