Table of contents
API
TOC
Collapse the table of content
Expand the table of content

PlanAssignmentIntervalCollection class

Nadin Merali|Last Updated: 5/6/2017

inherits members from ClientObjectCollection

Represents a collection of PlanAssignmentInterval objects.

Syntax

CSOM

class PlanAssignmentIntervalCollection 

JSOM

PS.PlanAssignmentIntervalCollection

REST Interface

Supported.

PS.PlanAssignmentIntervalCollection

http://contoso.sharepoint.com/sites/pwa/api/ProjectServer/Projects('{projectid}')/GetResourcePlanByUrl(start='{yyyy-MM-dd}',end='{yyyy-MM-dd}',scale='{timescale}')/Assignments('{assignmentid}')/Intervals

Members

✓ - Read Support       ✓ʷ - Write Support

Properties

Name.NETJSOMRESTTypeDescription
[Integer]PlanAssignmentIntervalGets a PlanAssignmentInterval from the collection at the specified index.
ItemPlanAssignmentIntervalGets a PlanAssignmentInterval from the collection at the specified index.

Methods

Name.NETJSOMRESTReturn TypeDescription
GetById(String id)PlanAssignmentIntervalGets a PlanAssignmentInterval from the collection with the Guid value.
GetByStart(DateTime start)PlanAssignmentIntervalGets a plan assignment interval from the collection of plan assignment intervals, with the specified start date.


Method Details

GetById(String id)

Gets a PlanAssignmentInterval from the collection with the Guid value.

Syntax
PlanAssignmentInterval GetById(String id)
Parameters
NameTypeDescription
idStringThe id of the PlanAssignmentInterval.
Return Value

PlanAssignmentInterval

GetByStart(DateTime start)

Gets a plan assignment interval from the collection of plan assignment intervals, with the specified start date.

Syntax
PlanAssignmentInterval GetByStart(DateTime start)
Parameters
NameTypeDescription
startDateTimeA start date.
Return Value

PlanAssignmentInterval

See Also

PlanAssignment
PlanAssignmentInterval

© 2018 Microsoft