This documentation is archived and is not being maintained.

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)

public enum Type

Member nameDescription
WinProjScratchpadResourceValue=-1. Internal use only; do not use.
WinProjUnknownResourceValue=-2. Internal use only; do not use.
WinProjUnassignedResourceValue=-3. Internal use only; do not use.
WinProjSummaryResourceValue=-4. Internal use only; do not use.
PureUserValue=1. Pure user, such as Admins. Cannot be assigned to Project tasks; can use Project Web App.
WorkResourceValue=2. Work resource. This is the default value. Can be assigned to Project tasks; can log on to Project Web App.
CAN_LOG_IN_MAXIMUMValue=20. Any resource with a resource-type value less than this value can log on to Project Web App.
GenericWorkResourceValue=20. Generic work resource. Can be assigned to Project tasks; cannot log on to Project Web App.
MaterialResourceValue=21. Material resource. Can be assigned to Project tasks; cannot log on to Project Web App.
GenericMaterialResourceValue=22. Generic material resource. Can be assigned to Project tasks; cannot log on to Project Web App.
CostResourcesValue=25. Cost resource. Can be assigned to Project tasks; cannot log on to Project Web App.
GenericCostResourcesValue=26. Generic cost resource. Can be assigned to Project tasks; cannot log on to Project Web App.
IS_NONBUDGET_TYPE_MAXIMUMValue=50. Any resource value less than this value is not a budget resource.
BudgetWorkResourceValue=50. Budget work resource. Can be assigned to Project summary tasks only; cannot log on to Project Web App.
BudgetCostResourceValue=51. Budget cost resource. Can be assigned to Project summary tasks only; cannot log on to Project Web App.
BudgetMaterialResourceValue=52. Budget material resource. Can be assigned to Project summary tasks only; cannot log on to Project Web App.
GenericBudgetWorkResourceValue=53. Generic budget work resource. Can be assigned to Project summary tasks only; cannot log on to Project Web App.
GenericBudgetCostResourceValue=54. Generic budget cost resource. Can be assigned to Project summary tasks only; cannot log on to Project Web App.
GenericBudgetMaterialResourceValue=55. Generic budget material resource. Can be assigned to Project summary tasks only; cannot log on to Project Web App.
INACTIVATED_OFFSETValue=100. An inactive resource has the value of this enumeration added to its resource-type value.

Use the Resource.Type type to set the RES_TYPE property in a [Project Web service].ProjectDataSet.ProjectResourceRow or [Statusing Web service].ProjectDataSet.ProjectResourceRow object.

For more information, see the ActivateResources PSI method.

Show: