Partager via


Project Class

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.

Inheritance Hierarchy

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      System.Web.Services.Protocols.WebClientProtocol
        System.Web.Services.Protocols.HttpWebClientProtocol
          System.Web.Services.Protocols.SoapHttpClientProtocol
            [Project Web service].Project

Namespace:  [Project Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/Project.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/Project.asmx?wsdl

Syntax

'Declaration
<WebServiceBindingAttribute(Name := "ProjectSoap", Namespace := "https://schemas.microsoft.com/office/project/server/webservices/Project/")> _
Public Class Project _
    Inherits SoapHttpClientProtocol
'Usage
Dim instance As Project
[WebServiceBindingAttribute(Name = "ProjectSoap", Namespace = "https://schemas.microsoft.com/office/project/server/webservices/Project/")]
public class Project : SoapHttpClientProtocol

Remarks

The Project class manages all the projects on a given server, rather than providing an interface into only one project.

The application must log on to the server by using network credentials (LoginWindows) or Forms Authentication (LoginForms) before using methods in this class.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Project Members

Project Web Service