次の方法で共有


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 App.
WorkResource Value=2. Work resource. This is the default value. Can be assigned to Project tasks; can log on to Project Web App.
CAN_LOG_IN_MAXIMUM Value=20. Any resource with a resource-type value less than this value can log on to Project Web App.
GenericWorkResource Value=20. Generic work resource. Can be assigned to Project tasks; cannot log on to Project Web App.
MaterialResource Value=21. Material resource. Can be assigned to Project tasks; cannot log on to Project Web App.
GenericMaterialResource Value=22. Generic material resource. Can be assigned to Project tasks; cannot log on to Project Web App.
CostResources Value=25. Cost resource. Can be assigned to Project tasks; cannot log on to Project Web App.
GenericCostResources Value=26. Generic cost resource. Can be assigned to Project tasks; cannot log on to Project Web App.
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 App.
BudgetCostResource Value=51. Budget cost resource. Can be assigned to Project summary tasks only; cannot log on to Project Web App.
BudgetMaterialResource Value=52. Budget material resource. Can be assigned to Project summary tasks only; cannot log on to Project Web App.
GenericBudgetWorkResource Value=53. Generic budget work resource. Can be assigned to Project summary tasks only; cannot log on to Project Web App.
GenericBudgetCostResource Value=54. Generic budget cost resource. Can be assigned to Project summary tasks only; cannot log on to Project Web App.
GenericBudgetMaterialResource Value=55. Generic budget material resource. Can be assigned to Project summary tasks only; cannot log on to Project Web App.
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 [Project Web service].ProjectDataSet.ProjectResourceRow or [Statusing Web service].ProjectDataSet.ProjectResourceRow object.

For more information, see the ActivateResources PSI method.

See Also

Reference

Microsoft.Office.Project.Server.Library Namespace