Share via


ProjectEngagement class

inherits members from Engagement

Syntax

CSOM

class ProjectEngagement 

JSOM

PS.ProjectEngagement

REST Interface

Supported.

PS.ProjectEngagement

http://contoso.sharepoint.com/sites/pwa/api/ProjectServer/Projects('{projectid}')/Engagements('{engagementid}')

Members

✓ - Read Support       ✓ʷ - Write Support

Properties

Name .NET JSOM REST Type Description
ApprovedFinish DateTime
ApprovedMaxUnits Double
ApprovedStart DateTime
ApprovedWork String
ApprovedWorkMilliseconds Integer
ApprovedWorkTimeSpan TimeSpan
HasUnsubmittedChanges Boolean
Project Project
RequestedFinish ✓ʷ ✓ʷ ✓ʷ DateTime
RequestedMaxUnits ✓ʷ ✓ʷ ✓ʷ Double
RequestedStart ✓ʷ ✓ʷ ✓ʷ DateTime
RequestedWork ✓ʷ ✓ʷ ✓ʷ String
RequestedWorkMilliseconds ✓ʷ ✓ʷ Integer
RequestedWorkTimeSpan ✓ʷ ✓ʷ TimeSpan

Methods

Name .NET JSOM REST Return Type Description
DeleteObject() void Deletes the project engagement object.
GetTimephased(DateTime start, DateTime end, TimeScale timescale, EngagementContourType contourType) ProjectEngagementTimephasedCollection
GetTimephasedByUrl(String start, String end, String scale, String contourType) ProjectEngagementTimephasedCollection

#### Method Details

DeleteObject()

Deletes the project engagement object.

Syntax
void DeleteObject()
Parameters

None

Return Value

void

GetTimephased(DateTime start, DateTime end, TimeScale timescale, EngagementContourType contourType)

Syntax
ProjectEngagementTimephasedCollection GetTimephased(DateTime start, DateTime end, TimeScale timescale, EngagementContourType contourType)
Parameters
Name Type Description
start DateTime
end DateTime
timescale TimeScale
contourType EngagementContourType
Return Value

ProjectEngagementTimephasedCollection

GetTimephasedByUrl(String start, String end, String scale, String contourType)

Syntax
ProjectEngagementTimephasedCollection GetTimephasedByUrl(String start, String end, String scale, String contourType)
Parameters
Name Type Description
start String
end String
scale String
contourType String
Return Value

ProjectEngagementTimephasedCollection

See Also

ProjectEngagementCollection
ProjectEngagementCreationInformation