Share via


Assignment class

Contains the common properties for draft assignments and published assignments.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Client.ClientObject
    Microsoft.ProjectServer.Client.Assignment
      Microsoft.ProjectServer.Client.DraftAssignment
      Microsoft.ProjectServer.Client.PublishedAssignment

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

Syntax

'Declaration
<ScriptTypeAttribute("PS.Assignment", ServerTypeId := "{aaced30f-e1e9-484f-b262-ae4e62b3359a}")> _
Public Class Assignment _
    Inherits ClientObject
'Usage
Dim instance As Assignment
[ScriptTypeAttribute("PS.Assignment", ServerTypeId = "{aaced30f-e1e9-484f-b262-ae4e62b3359a}")]
public class Assignment : ClientObject

Remarks

The DraftAssignment class and the PublishedAssignment class are derived from the Assignment class. All of the properties in the Assignment class are read-only. To set the value of assignment properties, use a DraftAssignment object.

For more information about fields in Microsoft Project 2013, see Available fields reference.

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

Assignment members

Microsoft.ProjectServer.Client namespace

DraftAssignment

PublishedAssignment

DraftAssignmentCollection

PublishedAssignmentCollection

AssignmentCreationInformation