共用方式為


Project Members

Include Protected Members
Include Inherited Members

Includes methods for managing projects and entities in projects such as tasks, resources, and assignments. Project class methods also manage deliverables, project proposals, and project or master project relationships.

The Project type exposes the following members.

Constructors

  Name Description
Public method Project Creates a Project object from the ASMX-based Project web service.

Top

Properties

  Name Description
Public property AllowAutoRedirect (Inherited from HttpWebClientProtocol.)
Protected property CanRaiseEvents (Inherited from Component.)
Public property ClientCertificates (Inherited from HttpWebClientProtocol.)
Public property ConnectionGroupName (Inherited from WebClientProtocol.)
Public property Container (Inherited from Component.)
Public property CookieContainer (Inherited from HttpWebClientProtocol.)
Public property Credentials (Inherited from WebClientProtocol.)
Protected property DesignMode (Inherited from Component.)
Public property EnableDecompression (Inherited from HttpWebClientProtocol.)
Protected property Events (Inherited from Component.)
Public property PreAuthenticate (Inherited from WebClientProtocol.)
Public property Proxy (Inherited from HttpWebClientProtocol.)
Public property RequestEncoding (Inherited from WebClientProtocol.)
Public property Site (Inherited from Component.)
Public property SoapVersion (Inherited from SoapHttpClientProtocol.)
Public property Timeout (Inherited from WebClientProtocol.)
Public property UnsafeAuthenticatedConnectionSharing (Inherited from HttpWebClientProtocol.)
Public property Url (Inherited from WebClientProtocol.)
Public property UseDefaultCredentials (Inherited from WebClientProtocol.)
Public property UserAgent (Inherited from HttpWebClientProtocol.)

Top

Methods

  Name Description
Public method Abort (Inherited from WebClientProtocol.)
Protected method BeginInvoke (Inherited from SoapHttpClientProtocol.)
Protected method CancelAsync (Inherited from HttpWebClientProtocol.)
Public method CheckOutProject Checks out a specified project.
Public method CreateObjRef (Inherited from MarshalByRefObject.)
Public method CreateOperationsWorkFromWssList Creates a project from a SharePoint task list, but does not maintain synchronization data.
Public method CreateProjectFromTemplate Creates a project from a specified template. The new project has the specified project name.
Public method CreateWssListSyncedProject Creates a project with the specified name of the SharePoint task list, and then populates the project with data that is mapped from the task list.
Public method Discover (Inherited from SoapHttpClientProtocol.)
Public method Dispose() (Inherited from Component.)
Protected method Dispose(Boolean) (Inherited from Component.)
Protected method EndInvoke (Inherited from SoapHttpClientProtocol.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Component.)
Public method GetHashCode (Inherited from Object.)
Public method GetLifetimeService (Inherited from MarshalByRefObject.)
Public method GetProjectNameFromProjectUid Gets the project name of the specified projectUid in the Drafts database.
Protected method GetReaderForMessage (Inherited from SoapHttpClientProtocol.)
Protected method GetService (Inherited from Component.)
Public method GetType (Inherited from Object.)
Protected method GetWebRequest (Inherited from SoapHttpClientProtocol.)
Protected method GetWebResponse(WebRequest) (Inherited from HttpWebClientProtocol.)
Protected method GetWebResponse(WebRequest, IAsyncResult) (Inherited from HttpWebClientProtocol.)
Protected method GetWriterForMessage (Inherited from SoapHttpClientProtocol.)
Public method InitializeLifetimeService (Inherited from MarshalByRefObject.)
Protected method Invoke (Inherited from SoapHttpClientProtocol.)
Protected method InvokeAsync(String, [], SendOrPostCallback) (Inherited from SoapHttpClientProtocol.)
Protected method InvokeAsync(String, [], SendOrPostCallback, Object) (Inherited from SoapHttpClientProtocol.)
Protected method MemberwiseClone() (Inherited from Object.)
Protected method MemberwiseClone(Boolean) (Inherited from MarshalByRefObject.)
Public method QueueAddToProject Creates project entities that are specified in the ProjectDataSet by using an existing sessionUid for a checked-out project.
Public method QueueCheckInProject Checks in the specified project.
Public method QueueCreateProject Creates a project with the specified entities, and checks in the project to the Drafts database.
Public method QueueCreateProjectAndCheckOut Creates a project with the specified entities and keeps the project checked out in the Drafts database.
Public method QueueCreateProposalProjectAndCheckout Deprecated in Project Server 2010.
Public method QueueDeleteFromProject Deletes the specified project entities.
Public method QueueDeleteProjects Deletes one or more projects.
Public method QueuePublish Moves the project from the Drafts database and saves it to the Published database.
Public method QueuePublishSummary Publishes the stage summaries of the specified project, in a partial publish operation.
Public method QueueRenameProject Renames the specified project.
Public method QueueSynchronizeProjectWorkspace Synchronizes the SharePoint data in the Reporting database for the specified project.
Public method QueueUpdateProject Updates entities in a checked-out project. Also adds, modifies, or deletes custom field values.
Public method QueueUpdateProjectImpacts Updates the project impact data, for portfolio analysis.
Public method QueueUpdateProjectTeam Updates the project team for a specified project.
Public method QueueUpgradeProject Deprecated in Project Server 2010.
Public method ReadProject Gets data for the specified project in the specified Project Server database.
Public method ReadProjectEntities Gets one or more types of information within a project, such as tasks, resources, and assignments.
Public method ReadProjectImpacts Reads impacts of the specified project, for portfolio analysys.
Public method ReadProjectList Gets the project name, GUID, and type of each project that is available on the Project Web App instance.
Public method ReadProjectListByDepartment Returns GUIDs and names for all projects within the specified department for which the user has OpenProject permission.
Public method ReadProjectStatus Gets the status of the specified project.
Public method ReadProjectSyncErrorInfo Retrieves the error status for a synchronization request of the specified SharePoint task list with Project Server.
Public method ReadProjectSyncSettings Retrieves the synchronization data for a set of projects or SharePoint task lists that are synchronized.
Public method ReadProjectTeam Gets information about the local project resources and the enterprise resources that are referenced in a specified project.
Public method ReadSchedulingContext Gets the scheduling context based on a set of projects and resources.
Public method ReadServerListSeparator Gets the list separator character that is specified in the server settings.
Public method SyncProjectWithWss Synchronizes the indicated project, or the SharePoint task list, as specified by the unique identifier.
Public method ToString (Inherited from Component.)
Public method UpdateProjectSyncSettings Updates the data in Project Server that specifies the mapping for synchronizing a project with a SharePoint task list.
Public method UpdateProjectWorkspaceAddress Updates the project site URL and name in a SharePoint site.

Top

Events

  Name Description
Public event Disposed (Inherited from Component.)

Top

See Also

Reference

Project Class

Project Web Service