ProjectCreationInformation.EnterpriseProjectTypeId 屬性
取得或設定企業專案類型 (EPT) 的 GUID。
命名空間: Microsoft.ProjectServer.Client
組件: Microsoft.ProjectServer.Client (在 Microsoft.ProjectServer.Client.dll 中)
語法
'宣告
<RemoteAttribute> _
Public Property EnterpriseProjectTypeId As Guid
Get
Set
'用途
Dim instance As ProjectCreationInformation
Dim value As Guid
value = instance.EnterpriseProjectTypeId
instance.EnterpriseProjectTypeId = value
[RemoteAttribute]
public Guid EnterpriseProjectTypeId { get; set; }
屬性值
類型:System.Guid
EPT 之 GUID。
備註
建立專案時,設定EnterpriseProjectTypeId屬性是選擇性的。如果沒有指定任何 EPT,Project Server 會使用預設值。預設 EPT 變更預設值,除非是 「 基本專案計劃。 」更新**IsDefault()**屬性,或編輯 Ept Project Web App (https://ServerName/PwaName/_layouts/15/pwa/Admin/EnterpriseProjectTypes.aspx) 中的 [企業專案類型] 頁面上,可以變更預設的 EPT。