共用方式為


DraftProject members

Include protected members
Include inherited members

表示專案中,也就是簽出專案的草稿版本。

The DraftProject type exposes the following members.

Constructors

  Name Description
Public method DraftProject 初始化DraftProject類別的新執行個體。

Top

Properties

  Name Description
Public property ApprovedEnd 在專案公事包規劃] 中取得核准的結束日期。 (Inherited from Project.)
Public property ApprovedStart 在專案公事包規劃] 中取得核准的開始日期。 (Inherited from Project.)
Public property Assignments 取得專案的工作分派的集合。
Public property CalculateActualCosts 取得或設定是否 Project Server 會自動計算實際和剩餘工時和成本。
Public property CalculatesActualCosts 取得或設定是否專案永遠會計算實際成本。
Public property Calendar 取得或設定 Project Server 行事曆。
Public property CheckedOutBy 取得已取出專案的企業資源。 (Inherited from Project.)
Public property CheckedOutDate 取得專案被取出時的日期。 (Inherited from Project.)
Public property CheckOutDescription 取得描述目前專案的簽出動作。 (Inherited from Project.)
Public property CheckOutId 取得工作階段目前簽出相關聯的 GUID。 (Inherited from Project.)
Public property Context (Inherited from ClientObject.)
Public property CreatedDate 取得專案建立時的日期。 (Inherited from Project.)
Public property CriticalSlackLimit 取得或設定任務可以略過專案標記為要徑任務之前的結束日期的日數。
Public property CurrencyCode 取得或設定貨幣專案的程式碼,如 ISO 4217 中所定義。
Public property CurrencyDigits 取得或設定貨幣值中的小數位數。
Public property CurrencyPosition 取得或設定相對於貨幣值的貨幣符號的位置。
Public property CurrencySymbol 取得或設定貨幣符號,代表使用中專案的貨幣類型。
Public property CurrentDate 取得或設定專案的目前日期。
Public property CustomFields 取得專案的集合都有值為專案設定的自訂欄位。 (Inherited from Project.)
Public property DaysPerMonth 取得或設定每個月的工作天數的預設數目。
Public property DefaultEffortDriven 取得或設定值,這個值,指出是否排程新任務為投入比導向。
Public property DefaultEstimatedDuration 取得或設定值,指出新任務是否具有估計工期。
Public property DefaultFinishTime 取得或設定預設的結束時間的工作日。
Public property DefaultFixedCostAccrual 取得或設定值,指出預設的固定成本累算方法為使用新的工作上。
Public property DefaultOvertimeRate 取得或設定本機資源的預設加班工資率。
Public property DefaultOvertimeRateUnits 取得儲存的PublishedProject.DefaultOvertimeRate屬性的預設加班工資率的時間單位。 (Inherited from Project.)
Public property DefaultStandardRate 取得或設定本機資源的預設標準工資率。
Public property DefaultStandardRateUnits 取得儲存的PublishedProject.DefaultStandardRate屬性的預設標準工資率的時間單位。 (Inherited from Project.)
Public property DefaultStartTime 取得或設定為工作日的預設開始時間。
Public property DefaultTaskType 取得或設定在專案中任務的預設類型。
Public property DefaultWorkFormat 取得或設定工作持續時間的預設格式。
Public property Description 取得或設定專案描述。
Public property EnterpriseProjectType 取得專案中的企業專案型別 (EPT)。 (Inherited from Project.)
Public property FieldValues 取得草稿專案自訂欄位值。
Public property FinishDate 取得或設定專案的完成日期。
Public property FiscalYearStartMonth 取得或設定會計年度的第一個月數。
Public property HasMppPendingImport 取得值,這個值,指出是否要匯入等候 mpp 檔案。 (Inherited from Project.)
Public property HonorConstraints 取得或設定值,指出是否排程的條件約束優先於相依性。
Public property Id 取得專案的 GUID。 (Inherited from Project.)
Public property IncludeCustomFields 取得包含自訂欄位的DraftProject物件。
Public property IsCheckedOut 取得值,指示是否取出專案。 (Inherited from Project.)
Public property Item 取得或設定在專案中的項目。
Public property LastPublishedDate 取得最新專案的發佈時的日期。 (Inherited from Project.)
Public property LastSavedDate 取得當儲存專案的最近日期。 (Inherited from Project.)
Public property MinutesPerDay 取得或設定預設的每天的分鐘數。
Public property MinutesPerWeek 取得或設定預設的每週的分鐘數。
Public property MoveActualIfLater 取得或設定值,這個值,指出是否要將完成部份的結束日期移至狀態日期,如果實際的結束日期落在狀態日期之前。
Public property MoveActualToStatus 取得或設定值,這個值,指出是否要將完成部份的結束日期移回到狀態日期,如果實際結束資料落在狀態日期之後。
Public property MoveRemainingIfEarlier 取得或設定值,這個值,指出是否要將剩餘部份的開始日期移至狀態日期,如果實際開始日期落在狀態日期之前。
Public property MoveRemainingToStatus 取得或設定值,這個值,指出是否要將剩餘部份的開始日期移回到狀態日期,如果實際開始日期落在狀態日期之後。
Public property MultipleCriticalPaths 取得或設定值,這個值,指出是否計算多重要徑。
Public property Name 取得或設定專案名稱。
Public property NewTasksAreManual 取得或設定值,指出是否以手動方式排程新任務。
Public property NumberFiscalYearFromStart 取得或設定值,指出是否要使用的專案開始年度為會計年度編號。
Protected property ObjectData (Inherited from ClientObject.)
Public property ObjectVersion (Inherited from ClientObject.)
Public property OptimizerDecision 取得專案公事包分析的最佳化器的結果。 (Inherited from Project.)
Public property Owner 取得或設定專案擁有者。
Public property Path (Inherited from ClientObject.)
Public property PercentComplete 取得專案摘要任務的完成百分比。 (Inherited from Project.)
Public property Phase 取得目前工作流程階段的專案。 (Inherited from Project.)
Public property PlannerDecision 專案公事包分析中取得會議規劃的結果。 (Inherited from Project.)
Public property ProjectResources 取得專案的資源集合。
Public property ProjectSiteUrl 取得專案網站的 URL。 (Inherited from Project.)
Public property ProjectType 取得專案 (標準專案、 範本、 主專案中或子專案) 的型別。 (Inherited from Project.)
Public property ProtectedActualsSynch 取得或設定值,指出是否在與受保護的實際工時同步專案實際工時。
Public property QueueJobs 取得與專案相關聯的專案伺服器佇列服務工作的集合。 (Inherited from Project.)
Public property ScheduledFromStart 取得或設定值,指出是否從開始日期開始而不是完成日期排程專案。
Public property ServerObjectIsNull (Inherited from ClientObject.)
Public property ShowEstimatedDurations 取得或設定值,指出是否估計工期的任務之後,會顯示一個問號。
Public property SplitInProgress 取得或設定值,這個值,指出是否分割進行中的任務。
Public property SpreadActualCostsToStatus 取得或設定值,指出是否實際成本的考量期間會分配到狀態日期或停止日期。
Public property SpreadPercentCompleteToStatus 取得或設定值,指出任務完成百分比的考量期間是否會分配到狀態日期或任務的完成日期。
Public property Stage 取得目前的工作流程階段的專案。 (Inherited from Project.)
Public property StartDate 取得或設定專案的開始日期。
Public property StatusDate 取得或設定專案的目前狀態日期。
Public property SummaryTaskId 取得隱藏的專案摘要任務中的 GUID。 (Inherited from Project.)
Public property Tag (Inherited from ClientObject.)
Public property TaskLinks 取得專案草稿工作連結物件的集合。
Public property TaskListId 取得專案的任務清單的 GUID。 (Inherited from Project.)
Public property Tasks 取得專案中的工作物件的集合。
Public property TrackingMode 取得或設定預設的追蹤專案中的所有工作分派的方法。
Public property TypedObject (Inherited from ClientObject.)
Public property WeekStartDay 取得或設定工作週會啟動的一週天數。
Public property WinprojVersion 取得或設定建立草稿專案的專案專業人員的版本。

Top

Methods

  Name Description
Public method CheckIn 如果仍然簽出,排入草稿專案的簽入作業佇列。
Protected method CheckUninitializedProperty (Inherited from ClientObject.)
Public method CustomFromJson (Inherited from ClientObject.)
Public method EnterProjectStage 切換至 Project Server 工作流程中指定的舞台的專案。 (Inherited from Project.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method FromJson (Inherited from ClientObject.)
Public method GetHashCode (Inherited from Object.)
Public method GetResourcePlan 取得專案的資源計劃資料透過篩選以日期範圍與時幅參數的專案資料。 (Inherited from Project.)
Public method GetType (Inherited from Object.)
Protected method InitNonPropertyFieldFromJson Reserved for internal use. (Overrides ClientObject.InitNonPropertyFieldFromJson(String, JsonReader).)
Protected method InitOnePropertyFromJson Reserved for internal use. (Overrides Project.InitOnePropertyFromJson(String, JsonReader).)
Public method IsObjectPropertyInstantiated (Inherited from ClientObject.)
Public method IsPropertyAvailable (Inherited from ClientObject.)
Public method LeaveProjectStage 設定專案完成並離開目前的工作流程階段。 (Inherited from Project.)
Protected method LoadExpandoFields Reserved for internal use.初始化與DraftProject物件相關聯的擴充的屬性。 (Overrides ClientObject.LoadExpandoFields().)
Protected method MemberwiseClone (Inherited from Object.)
Public method Publish 佇列發佈工作給從草稿專案取得變更回已發佈的版本。
Public method ReadyToLeaveProjectStage 檢查是否符合目前的工作流程階段需求以及專案已準備好要移至下一個階段。 (Inherited from Project.)
Public method RefreshLoad Reserved for internal use.重新載入DraftProject物件相關聯的所有純量屬性。 (Overrides ClientObject.RefreshLoad().)
Protected method RemoveFromParentCollection (Inherited from ClientObject.)
Public method Retrieve() (Inherited from ClientObject.)
Public method Retrieve([]) (Inherited from ClientObject.)
Public method SetCustomFieldValue 設定專案的自訂欄位。 (Inherited from Project.)
Public method ToString (Inherited from Object.)
Public method Update 將變更儲存在 [新增專案] 或 [上一步要 Project Server 取出的草稿專案。
Protected method UpdateClientObjectPropertyType (Inherited from ClientObject.)
Public method UpdateIdeaListItemStatus 狀態訊息,以更新專案伺服器狀態] 欄,在 [主意] 清單。 (Inherited from Project.)
Public method UpdateProjectStageStatus 更新的專案工作流程階段的狀態。 (Inherited from Project.)
Public method Validate 驗證暫止的變更從所有的新增或移除專案。

Top

請參閱

參照

DraftProject class

Microsoft.ProjectServer.Client namespace