共用方式為


ResourcePlan Web Service

The ResourcePlan class is the primary class in the [ResourcePlan Web service] namespace. The ResourcePlan class includes methods that manage resource plans.

Note

In the ASMX web service, ResourcePlan is a class. In the WCF service, ResourcePlan is an interface that is implemented in the ResourcePlanClient class. For information about using the ResourcePlanClient class in a WCF-based application, see the ResourcePlan class constructor.

The [ResourcePlan Web service] namespace is an arbitrary name for a reference to the ResourcePlan.asmx web service (or the ResourcePlan.svc service) of the PSI in Microsoft Project Server 2010. Methods in the ResourcePlan class can read a resource plan status and check out, check in, create, delete, publish, read, or update resource plans.

ResourcePlan methods typically use or return a ResourcePlanDataSet object.

Classes

  Class Description
Public class ResourcePlan Contains methods to manage resource plans in Project Server.
Public class ResourcePlanDataSet Represents information about resources including dates, assignments, and utilization data tables.
Public class ResourcePlanDataSet.DatesDataTable Represents information about resource plan dates that is contained in one or more ResourcePlanDataSet.DatesRow objects.
Public class ResourcePlanDataSet.DatesRow Specifies the information that is associated with one row of resource plan dates.
Public class ResourcePlanDataSet.DatesRowChangeEvent Event that occurs when data in a DatesRow is changed.
Public class ResourcePlanDataSet.PlanAssignmentCustomFieldsDataTable Represents information about resource assignment custom fields that is contained in one or more ResourcePlanDataSet.PlanAssignmentCustomFieldsRow objects.
Public class ResourcePlanDataSet.PlanAssignmentCustomFieldsRow Represents a custom field value that is related to a particular PlanAssignmentRow object.
Public class ResourcePlanDataSet.PlanAssignmentCustomFieldsRowChangeEvent Event that occurs when data in a PlanAssignmentCustomFieldsRow is changed.
Public class ResourcePlanDataSet.PlanResourcesDataTable Represents information about resources that is contained in one or more ResourcePlanDataSet.PlanResourcesRow objects.
Public class ResourcePlanDataSet.PlanResourcesRow Specifies one row of data for resources associated with the current resource plan.
Public class ResourcePlanDataSet.PlanResourcesRowChangeEvent Event that occurs when data in a PlanResourcesRow is changed.
Public class ResourcePlanDataSet.UtilizationDataTable Represents information about resource utilization that is contained in one or more ResourcePlanDataSet.UtilizationRow objects.
Public class ResourcePlanDataSet.UtilizationRow Specifies one row of information related to a resource used for the current resource plan.
Public class ResourcePlanDataSet.UtilizationRowChangeEvent Event that occurs when data in a UtilizationRow is changed.

Delegates

  Delegate Description
Public delegate ResourcePlanDataSet.DatesRowChangeEventHandler Describes event handler settings for when data associated with a ResourcePlanDataSet.DatesRow is edited and an event should be triggered.
Public delegate ResourcePlanDataSet.PlanAssignmentCustomFieldsRowChangeEventHandler Describes event handler settings for when data associated with a ResourcePlanDataSet.PlanAssignmentCustomFieldsRow is edited and an event should be triggered.
Public delegate ResourcePlanDataSet.PlanResourcesRowChangeEventHandler Describes event handler settings for when data associated with a ResourcePlanDataSet.PlanResourcesRow is edited and an event should be triggered.
Public delegate ResourcePlanDataSet.UtilizationRowChangeEventHandler Describes event handler settings for when data associated with a ResourcePlanDataSet.UtilizationRow is edited and an event should be triggered.

Enumerations

  Enumeration Description
Public enumeration ResPlanStatus Specifies the status of a resource plan.