PublishedProjectResource class
inherits members from ProjectResource
Represents an enterprise resource that is published on Project Server.
Syntax
CSOM
class PublishedProjectResource
JSOM
PS.PublishedProjectResource
REST Interface
Supported.
PS.PublishedProjectResource
http://contoso.sharepoint.com/sites/pwa/api/ProjectServer/Projects('{projectid}')/ProjectResources('{resourceid}')
Members
✓ - Read Support ✓ʷ - Write Support
Properties
Name | .NET | JSOM | REST | Type | Description |
---|---|---|---|---|---|
[] | ✓ʷ | Dictionary<string, Object> | Gets or sets an item in the published project resource. | ||
Assignments | ✓ | ✓ | ✓ | PublishedAssignmentCollection | Gets the assignments that are associated with the resource. |
CanLevel | ✓ | ✓ | ✓ | Boolean | Gets a value that indicates whether resource leveling can be performed on the resource. |
Code | ✓ | ✓ | ✓ | String | Gets any code, abbreviation, or number that is entered as part of the information about the resource. |
CostAccrual | ✓ | ✓ | ✓ | AccrueAt | Gets a value that represents how and when to charge resource costs to the cost of a task. |
CostCenter | ✓ | ✓ | ✓ | String | Gets any code, abbreviation, or number that has been entered as part of the information about the resource. |
CostPerUse | ✓ | ✓ | ✓ | Double | Gets the cost per use of the resource. |
DefaultAssignmentOwner | ✓ | ✓ | ✓ | SPUser | Gets the default assignment owner. |
DefaultBookingType | ✓ | ✓ | ✓ | BookingType | Gets the default booking type for the resource. |
✓ | ✓ | ✓ | String | Gets the email address of the resource. | |
FieldValues | ✓ | ✓ | Dictionary<string, Object> | Gets the collection of custom fields that have values set for the published project resource. | |
Group | ✓ | ✓ | ✓ | String | Gets the name of a group to which a resource belongs. |
Initials | ✓ | ✓ | ✓ | String | Gets the short name for the resource. |
Item | ✓ʷ | Dictionary<string, Object> | Gets or sets an item in the published project resource. | ||
MaterialLabel | ✓ | ✓ | ✓ | String | Gets the unit of measure for a material resource, which can be supplies or other consumable items that are used in a project. |
MaximumCapacity | ✓ | ✓ | ✓ | Double | Gets the percentage, or the number of units, that represent the maximum capacity for which the resource is available during the current time period. |
Name | ✓ | ✓ | ✓ | String | Gets the name of the project resource. |
OvertimeRate | ✓ | ✓ | ✓ | Double | Gets the hourly rate of pay for overtime for the resource. |
OvertimeRateUnits | ✓ | ✓ | ✓ | OvertimeRateFormat | Gets the rate description format in which the overtime rate is displayed. |
Phonetics | ✓ | ✓ | ✓ | String | Gets phonetic information in either the Japanese Hiragana writing system or the Katakana writing system for resource names. |
StandardRate | ✓ | ✓ | ✓ | Double | Gets the rate of pay per hour for regular, non-overtime work performed by the resource. |
StandardRateUnits | ✓ | ✓ | ✓ | StandardRateFormat | Gets the rate description format in which the standard rate is displayed. |
See Also
PublishedAssignment
PublishedProjectResourceCollection
SPUser