Project Methods (Project)

This object has the following methods:

Name

Description

Activate

Activates the project.

AppendNotes

Appends text to the Notes field.

CheckIn

Checks in the working copy of the project from a local computer to the SharePoint document library, and sets the local project to read-only so that it cannot be edited locally.

CheckoutProject

Checks out an open project that is currently in read-only mode.

DeliverableAcceptChanges

Accepts the changes on the server for a deliverable.

DeliverableCreate

Creates a deliverable for a published project that has a project workspace.

DeliverableDelete

Deletes the deliverable.

DeliverableDependencyCreate

Creates a dependency on a deliverable and links the dependency to a task in the project.

DeliverableDependencyDelete

Deletes the dependency on the deliverable.

DeliverableLinkToProject

Links a deliverable or a dependency to a project.

DeliverableLinkToTask

Links a deliverable to a task.

DeliverableRefreshServerCache

Checks for updates on the server and refreshes the cache for deliverable and dependencies for the project.

DeliverablesClearAll

Clears all deliverables in the project.

DeliverablesGetByProject

Gets a list of all deliverables for the specified enterprise project in the XML member of the returned object. Project Professional only.

DeliverablesGetProviderProjects

Returns a list of all of the projects that have deliverables.

DeliverablesGetServerCachedXml

Gets the cached XML data from Project Server for all of the deliverables and dependencies in a project.

DeliverablesGetXml

Gets the XML data from Project Professional for all of the deliverables and dependencies in a project.

DeliverableUpdate

Updates the properties of a deliverable.

ExportAsFixedFormat

Exports the active project as a document in a custom PDF or XPS format.

GetDisplayNameFromObjectMatchingID

Returns the display name of an object.

GetObjectMatchingID

Returns the matching identification name of an object.

GetServerProjectGuid

Returns the GUID for the enterprise project.

GetTaskIndexByGuid

Returns the local task identification number (ID) for the specified task.

GetWinprojURLs

Returns the various URLs associated with the active enterprise project as an XML string.

HideCheckoutMsgBar

Hides the project checkout message bar.

ImportResourceErrorCount

Returns the number of errors generated by a resource import operation.

LevelClearDates

Sets the leveling range to include the entire project.

LocalResourceCount

Returns the number of local resources in the project.

LocalResourceErrorCount

Returns the number of local resource errors.

MakeServerURLTrusted

Adds the URL specified in the ServerURL property to the Trusted sites zone in the Security tab of the Internet Options dialog box in Internet Explorer.

ReadWssData

Returns the Project Workspace URLs for the active enterprise project as an XML string.

ResourceCount

Returns the total number of resources in the project, including both local and enterprise resources.

ResourceErrorCount

Returns the number of resource errors.

SaveAs

Saves a file that is not the active project under a new file name.

SetCustomUI

Sets the internal XML value for a custom ribbon user interface of the project.

SetObjectMatchingID

Sets the matching identification value of an object in the Organizer dialog box, for example to change the view specified by "Gantt Chart".

Show:
© 2015 Microsoft