PlanAssignmentIntervalCollection class

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 .NET JSOM REST Type Description
[Integer] PlanAssignmentInterval Gets a PlanAssignmentInterval from the collection at the specified index.
Item PlanAssignmentInterval Gets a PlanAssignmentInterval from the collection at the specified index.

Methods

Name .NET JSOM REST Return Type Description
GetById(String id) PlanAssignmentInterval Gets a PlanAssignmentInterval from the collection with the Id value.
GetByStart(DateTime start) PlanAssignmentInterval Gets 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 Id value.

Syntax
PlanAssignmentInterval GetById(String id)
Parameters
Name Type Description
id String The 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
Name Type Description
start DateTime A start date.
Return Value

PlanAssignmentInterval

See Also

PlanAssignment
PlanAssignmentInterval