title | ms.service | api_name | ms.assetid | ms.date | ms.localizationpriority | |
---|---|---|---|---|---|---|
Resource object (Project) |
project-server |
|
eb83ed2f-2415-3f5d-3856-f4451a73a128 |
06/08/2017 |
medium |
Represents a resource. The Resource object is a member of the Resources collection.
Using the Resource Object
Use Resources (index), where index is the resource index number or resource name, to return a single Resource object. The following example lists the names of all resources in the active project.
Using the Resources Collection
Use the Resources property to return a Resources collection. The following example generates the same list as the previous example, but does so by setting an object reference to ActiveProject.Resources
and then by using R
where ActiveProject.Resources
is used.
Use the Add method to add a Resource object to the Resources collection. The following example adds a new resource named Matilda to the active project.
Name |
---|
AppendNotes |
Delete |
EnterpriseTeamMember |
GetField |
Level |
SetField |
TimeScaleData |
[!includeSupport and feedback]