DraftProject members

Represents the draft version of a project, which is a project that is checked out.

The DraftProject type exposes the following members.

Constructors

  Name Description
Public method DraftProject Initializes a new instance of the DraftProject class.

Top

Properties

  Name Description
Public property ApprovedEnd Gets the approved end date in the project portfolio planner. (Inherited from Project.)
Public property ApprovedStart Gets the approved start date in the project portfolio planner. (Inherited from Project.)
Public property Assignments Gets the collection of assignments for a project.
Public property CalculateActualCosts Gets or sets whether Project Server automatically calculates actual and remaining work and costs.
Public property CalculatesActualCosts Gets or sets whether the project always calculates actual costs.
Public property Calendar Gets or sets a Project Server calendar.
Public property CheckedOutBy Gets the enterprise resource who has the project checked out. (Inherited from Project.)
Public property CheckedOutDate Gets the date when project was checked out. (Inherited from Project.)
Public property CheckOutDescription Gets the description of the current checkout action for the project. (Inherited from Project.)
Public property CheckOutId Gets the session GUID that is associated with the current check out. (Inherited from Project.)
Public property Context (Inherited from ClientObject.)
Public property CreatedDate Gets the date when the project was created. (Inherited from Project.)
Public property CriticalSlackLimit Gets or sets the number of days that a task can go past its end date before the project marks that task as critical.
Public property CurrencyCode Gets or sets the currency code of the project, as defined in ISO 4217.
Public property CurrencyDigits Gets or sets the number of decimal digits in currency values.
Public property CurrencyPosition Gets or sets the placement of the currency symbol in relation to the currency value.
Public property CurrencySymbol Gets or sets the currency symbol that represents the type of currency that is used in the project.
Public property CurrentDate Gets or sets the current date for the project.
Public property CustomFields Gets the collection of project custom fields that have values set for the project. (Inherited from Project.)
Public property DaysPerMonth Gets or sets the default number of working days per month.
Public property DefaultEffortDriven Gets or sets a value that indicates whether the scheduling of new tasks is effort-driven.
Public property DefaultEstimatedDuration Gets or sets a value that indicates whether new tasks have estimated durations.
Public property DefaultFinishTime Gets or sets the default end time of a working day.
Public property DefaultFixedCostAccrual Gets or sets a value that indicates which default fixed cost accrual method to use on new tasks.
Public property DefaultOvertimeRate Gets or sets the default overtime rate for local resources.
Public property DefaultOvertimeRateUnits Gets the time unit for the default overtime rate that is stored by the PublishedProject.DefaultOvertimeRate property. (Inherited from Project.)
Public property DefaultStandardRate Gets or sets the default standard rate for local resources.
Public property DefaultStandardRateUnits Gets the time unit for the default standard rate that is stored by the PublishedProject.DefaultStandardRate property. (Inherited from Project.)
Public property DefaultStartTime Gets or sets the default start time of a working day.
Public property DefaultTaskType Gets or sets the default type for tasks in the project.
Public property DefaultWorkFormat Gets or sets the default format for work duration.
Public property Description Gets or sets a project description.
Public property EnterpriseProjectType Gets the enterprise project type (EPT) for the project. (Inherited from Project.)
Public property FieldValues Gets the custom field values for the draft project.
Public property FinishDate Gets or sets the project finish date.
Public property FiscalYearStartMonth Gets or sets the number of the first month in the fiscal year.
Public property HasMppPendingImport Gets a value that indicates whether there is an mpp file waiting to be imported. (Inherited from Project.)
Public property HonorConstraints Gets or sets a value that indicates whether scheduling constraints take precedence over dependencies.
Public property Id Gets the GUID of the project. (Inherited from Project.)
Public property IncludeCustomFields Gets a DraftProject object that includes custom fields.
Public property IsCheckedOut Gets a value that indicates whether the project is checked out. (Inherited from Project.)
Public property Item Gets or sets an item in the project.
Public property LastPublishedDate Gets the most recent date when the project was published. (Inherited from Project.)
Public property LastSavedDate Gets the most recent date when the project was saved. (Inherited from Project.)
Public property MinutesPerDay Gets or sets the default number of minutes per day.
Public property MinutesPerWeek Gets or sets the default number of minutes per week.
Public property MoveActualIfLater Gets or sets a value that indicates whether to move the end date of completed parts forward to the status date, if the actual end date falls before the status date.
Public property MoveActualToStatus Gets or sets a value that indicates whether to move the end date of completed parts back to the status date, if the actual end data falls after the status date.
Public property MoveRemainingIfEarlier Gets or sets a value that indicates whether to move the start date of remaining parts forward to the status date, if the actual start date falls before the status date.
Public property MoveRemainingToStatus Gets or sets a value that indicates whether to move the start date of the remaining parts back to the status date, if the actual start date falls after the status date.
Public property MultipleCriticalPaths Gets or sets a value that indicates whether to calculate multiple critical paths.
Public property Name Gets or sets a project name.
Public property NewTasksAreManual Gets or sets a value that indicates whether new tasks are manually scheduled.
Public property NumberFiscalYearFromStart Gets or sets a value that indicates whether to use the project start year for fiscal year numbering.
Protected property ObjectData (Inherited from ClientObject.)
Public property ObjectVersion (Inherited from ClientObject.)
Public property OptimizerDecision Gets the result of the Optimizer in a project portfolio analysis. (Inherited from Project.)
Public property Owner Gets or sets the project owner.
Public property Path (Inherited from ClientObject.)
Public property PercentComplete Gets the percentage complete of the project summary task. (Inherited from Project.)
Public property Phase Gets the current workflow phase of the project. (Inherited from Project.)
Public property PlannerDecision Gets the result of the Planner in a project portfolio analysis. (Inherited from Project.)
Public property ProjectResources Gets the collection of resources for a project.
Public property ProjectSiteUrl Gets the URL of the project site. (Inherited from Project.)
Public property ProjectType Gets the type of project (standard project, template, master project, or subproject). (Inherited from Project.)
Public property ProtectedActualsSynch Gets or sets a value that indicates whether the project actuals are synchronized with the protected actuals.
Public property QueueJobs Gets the collection of Project Server Queue Service jobs that are associated with the project. (Inherited from Project.)
Public property ScheduledFromStart Gets or sets a value that indicates whether the project is scheduled from the start date instead of the finish date.
Public property ServerObjectIsNull (Inherited from ClientObject.)
Public property ShowEstimatedDurations Gets or sets a value that indicates whether a question mark is displayed after an estimated duration for a task.
Public property SplitInProgress Gets or sets a value that indicates whether to split tasks that are in progress.
Public property SpreadActualCostsToStatus Gets or sets a value that indicates whether the consideration period for actual costs is spread to the status date or to the stop date.
Public property SpreadPercentCompleteToStatus Gets or sets a value that indicates whether the consideration period for task percentage complete is spread to the status date or to the task finish date.
Public property Stage Gets the current workflow stage of the project. (Inherited from Project.)
Public property StartDate Gets or sets the project start date.
Public property StatusDate Gets or sets the current status date for the project.
Public property SummaryTaskId Gets the GUID for the hidden project summary task. (Inherited from Project.)
Public property Tag (Inherited from ClientObject.)
Public property TaskLinks Gets the collection of draft task link objects for the project.
Public property TaskListId Gets the GUID of the project's task list. (Inherited from Project.)
Public property Tasks Gets the collection of task objects for the project.
Public property TrackingMode Gets or sets the default tracking method for all assignments in the project.
Public property TypedObject (Inherited from ClientObject.)
Public property WeekStartDay Gets or sets the day of the week on which a work week starts.
Public property WinprojVersion Gets or sets the version of Project Professional that created the draft project.

Top

Methods

  Name Description
Public method CheckIn Queues a check-in job for a draft project if it is still checked out.
Protected method CheckUninitializedProperty (Inherited from ClientObject.)
Public method CustomFromJson (Inherited from ClientObject.)
Public method EnterProjectStage Switches the project to the specified stage in a Project Server workflow. (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 Gets resource plan data for a project by filtering project data with date range and timescale parameters. (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 Sets the project complete and leaves the current workflow stage. (Inherited from Project.)
Protected method LoadExpandoFields Reserved for internal use. Initializes the extended properties that are associated with the DraftProject object. (Overrides ClientObject.LoadExpandoFields().)
Protected method MemberwiseClone (Inherited from Object.)
Public method Publish Queues a publish job to get the changes from the draft project back to the published version.
Public method ReadyToLeaveProjectStage Checks whether the current workflow stage requirements are met and the project is ready to move to the next stage. (Inherited from Project.)
Public method RefreshLoad Reserved for internal use. Reloads all scalar properties that are associated with the DraftProject object. (Overrides ClientObject.RefreshLoad().)
Protected method RemoveFromParentCollection (Inherited from ClientObject.)
Public method Retrieve() (Inherited from ClientObject.)
Public method Retrieve([]) (Inherited from ClientObject.)
Public method SetCustomFieldValue Sets a custom field on the project. (Inherited from Project.)
Public method ToString (Inherited from Object.)
Public method Update Saves changes in a new project or checked-out draft project back to Project Server.
Protected method UpdateClientObjectPropertyType (Inherited from ClientObject.)
Public method UpdateIdeaListItemStatus Updates the Project Server Status column in the idea list with a status message. (Inherited from Project.)
Public method UpdateProjectStageStatus Updates the status of a workflow stage for the project. (Inherited from Project.)
Public method Validate Validates pending changes from all added or removed projects.

Top

See also

Reference

DraftProject class

Microsoft.ProjectServer.Client namespace