Phase class
inherits members from ClientObject
Represents a collection of stages that are grouped to identify a common set of activities in the project life cycle.
Syntax
CSOM
class Phase
JSOM
PS.Phase
REST Interface
Supported.
PS.Phase
http://contoso.sharepoint.com/sites/pwa/api/ProjectServer/Phases('{phaseid}')
Members
✓ - Read Support ✓ʷ - Write Support
Properties
Name | .NET | JSOM | REST | Type | Description |
---|---|---|---|---|---|
Description | ✓ʷ | ✓ʷ | ✓ʷ | String | Gets or sets a phase description. |
Id | ✓ | ✓ | ✓ | Guid | Gets the object identifier as a GUID. |
Name | ✓ʷ | ✓ʷ | ✓ʷ | String | Gets or sets a phase name. |
Stages | ✓ | ✓ | ✓ | StageCollection | Gets a collection of stages for a phase. |
Methods
Name | .NET | JSOM | REST | Return Type | Description |
---|---|---|---|---|---|
DeleteObject() | ✓ | ✓ | ✓ | void | Deletes the phase object. |
#### Method Details
DeleteObject()
Deletes the phase object.
Syntax
void DeleteObject()
Parameters
None
Return Value
void