Resource.Type Enumeration

Specifies the type of resource.

Namespace:  Microsoft.Office.Project.Server.Library
Assembly:  Microsoft.Office.Project.Server.Library (in Microsoft.Office.Project.Server.Library.dll)

Syntax

'Declaration
Public Enumeration Type
'Usage
Dim instance As Resource.Type
public enum Type

Members

Member name Description
WinProjScratchpadResource Value=-1. Internal use only; do not use.
WinProjUnknownResource Value=-2. Internal use only; do not use.
WinProjUnassignedResource Value=-3. Internal use only; do not use.
WinProjSummaryResource Value=-4. Internal use only; do not use.
PureUser Value=1. Pure user, such as Admins. Cannot be assigned to Project tasks; can use Project Web Access.
WorkResource Value=2. Work resource. This is the default value. Can be assigned to Project tasks; can log on to Project Web Access.
CAN_LOG_IN_MAXIMUM Value=20. Any resource with a resource-type value less than this value can log on to Project Web Access.
GenericWorkResource Value=20. Generic work resource. Can be assigned to Project tasks; cannot log on to Project Web Access.
MaterialResource Value=21. Material resource. Can be assigned to Project tasks; cannot log on to Project Web Access.
GenericMaterialResource Value=22. Generic material resource. Can be assigned to Project tasks; cannot log on to Project Web Access.
CostResources Value=25. Cost resource. Can be assigned to Project tasks; cannot log on to Project Web Access.
GenericCostResources Value=26. Generic cost resource. Can be assigned to Project tasks; cannot log on to Project Web Access.
IS_NONBUDGET_TYPE_MAXIMUM Value=50. Any resource value less than this value is not a budget resource.
BudgetWorkResource Value=50. Budget work resource. Can be assigned to Project summary tasks only; cannot log on to Project Web Access.
BudgetCostResource Value=51. Budget cost resource. Can be assigned to Project summary tasks only; cannot log on to Project Web Access.
BudgetMaterialResource Value=52. Budget material resource. Can be assigned to Project summary tasks only; cannot log on to Project Web Access.
GenericBudgetWorkResource Value=53. Generic budget work resource. Can be assigned to Project summary tasks only; cannot log on to Project Web Access.
GenericBudgetCostResource Value=54. Generic budget cost resource. Can be assigned to Project summary tasks only; cannot log on to Project Web Access.
GenericBudgetMaterialResource Value=55. Generic budget material resource. Can be assigned to Project summary tasks only; cannot log on to Project Web Access.
INACTIVATED_OFFSET Value=100. An inactive resource has the value of this enumeration added to its resource-type value.

Remarks

Use the Resource.Type type to set the RES_TYPE property in a WebSvcProject.ProjectDataSet.ProjectResourceRow or WebSvcStatusing.ProjectDataSet.ProjectResourceRow object.

For more information, see the ActivateResources PSI method.

See Also

Reference

Microsoft.Office.Project.Server.Library Namespace