Share via


Project class

Contains the common properties for draft projects and published projects.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Client.ClientObject
    Microsoft.ProjectServer.Client.Project
      Microsoft.ProjectServer.Client.DraftProject
      Microsoft.ProjectServer.Client.PublishedProject

Namespace:  Microsoft.ProjectServer.Client
Assembly:  Microsoft.ProjectServer.Client (in Microsoft.ProjectServer.Client.dll)

Syntax

'Declaration
<ScriptTypeAttribute("PS.Project", ServerTypeId := "{533000bc-b31e-43a1-abd9-d5e7710cc641}")> _
Public Class Project _
    Inherits ClientObject
'Usage
Dim instance As Project
[ScriptTypeAttribute("PS.Project", ServerTypeId = "{533000bc-b31e-43a1-abd9-d5e7710cc641}")]
public class Project : ClientObject

Remarks

The DraftProject class and the PublishedProject class are derived from the Project class. All of the properties in the Project class are read-only. To set the value of properties in an existing project, use the PublishedProject.CheckOut() method, edit the DraftProject object, and then use the DraftProject.CheckIn(Boolean) method.

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

Microsoft.ProjectServer.Client namespace

DraftProject

PublishedProject

ProjectCollection

Projects

Projects