共用方式為


Workflow Web Service

The Workflow class is the primary class in the [Workflow Web service] namespace. The Workflow class includes methods that manage Project Server workflows for demand management and project portfolio analyses.

Note

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

The [Workflow Web service] namespace is an arbitrary name for a reference to the Workflow.asmx web service (or the Workflow.svc service) of the PSI in Microsoft Project Server 2010. Methods in the Workflow class can create, read, update, and delete workflows, workflow stages, workflow phases, and enterprise project types (EPTs). Methods in the Workflow class also can clean up workflow stages in a project detail page (PDP), get the workflow proxy user, and read and set workflow status.

Workflow methods generally use or return a WorkflowDataSet. A WorkflowDataSet can include data in one or more of its eleven DataTable objects.

For more information, see Workflow and Demand Management.

Classes

  Class Description
Public class ResourceDataSet The ResourceDataSet contains information regarding the enterprise resources. For more information, see the items documented in [Resource Web service].
Public class ResourceDataSet.CalendarExceptionsDataTable Represents information about resource calendar conflicts that is contained in one or more ResourceDataSet.CalendarExceptionsRow objects.
Public class ResourceDataSet.CalendarExceptionsRow Represents resource calendar conflicts information as a row in the ResourceDataSet.CalendarExceptionsRow object.
Public class ResourceDataSet.CalendarExceptionsRowChangeEvent Event that occurs when data in a CalendarExceptionsRow is changed.
Public class ResourceDataSet.ResourceAvailabilitiesDataTable Represents information about resource availabilities contained in one or more ResourceDataSet.ResourceAvailabilitiesRow objects.
Public class ResourceDataSet.ResourceAvailabilitiesRow Represents resource availabilities information as a row in the ResourceDataSet.ResourceAvailabilitiesRow object.
Public class ResourceDataSet.ResourceAvailabilitiesRowChangeEvent Event that occurs when data in a ResourceAvailabilitiesRow is changed.
Public class ResourceDataSet.ResourceCustomFieldsDataTable Represents information about resource custom fields that is contained in one or more ResourceDataSet.ResourceCustomFieldsRow objects.
Public class ResourceDataSet.ResourceCustomFieldsRow Represents resource custom fields as a row in the ResourceDataSet.ResourceCustomFieldsDataTable object.
Public class ResourceDataSet.ResourceCustomFieldsRowChangeEvent Event that occurs when data in a ResourceCustomFieldsRow is changed.
Public class ResourceDataSet.ResourceRatesDataTable Represents information about resource rates that is contained in one or more ResourceDataSet.ResourceRatesRow objects.
Public class ResourceDataSet.ResourceRatesRow Represents resource rate information as a row in the ResourceDataSet.ResourceRatesDataTable object.
Public class ResourceDataSet.ResourceRatesRowChangeEvent Event that occurs when data in a ResourceRatesRow is changed.
Public class ResourceDataSet.ResourcesDataTable Represents information about workflow resources that is contained in one or more ResourceDataSet.ResourcesRow objects.
Public class ResourceDataSet.ResourcesRow Represents workflow resources information as a row in the ResourceDataSet.ResourcesDataTable object.
Public class ResourceDataSet.ResourcesRowChangeEvent Event that occurs when data in a ResourcesRow is changed.
Public class Workflow Web methods for managing Project Server workflows for demand management.
Public class WorkflowDataSet The WorkflowDataSet contains information about project workflows.
Public class WorkflowDataSet.EnterpriseProjectTypeDataTable Represents information about project types that is contained in one or more WorkflowDataSet.EnterpriseProjectTypeRow objects.
Public class WorkflowDataSet.EnterpriseProjectTypeDepartmentsDataTable Represents information about project type departments that is contained in one or more WorkflowDataSet.EnterpriseProjectTypeDepartmentsRow objects.
Public class WorkflowDataSet.EnterpriseProjectTypeDepartmentsRow Represents project type department information as a row in the WorkflowDataSet.EnterpriseProjectTypeDepartmentsDataTable object.
Public class WorkflowDataSet.EnterpriseProjectTypeDepartmentsRowChangeEvent Event that occurs when data in an EnterpriseProjectTypeDepartmentsRow is changed.
Public class WorkflowDataSet.EnterpriseProjectTypePDPsDataTable Represents information about the project detail pages of an enterprise project type, contained in one or more WorkflowDataSet.EnterpriseProjectTypePDPsRow objects.
Public class WorkflowDataSet.EnterpriseProjectTypePDPsRow Represents the project detail page information for a project type as a row in the WorkflowDataSet.EnterpriseProjectTypePDPsDataTable object.
Public class WorkflowDataSet.EnterpriseProjectTypePDPsRowChangeEvent Event that occurs when data in an EnterpriseProjectTypePDPsRow is changed.
Public class WorkflowDataSet.EnterpriseProjectTypeRow Represents project type information as a row in the WorkflowDataSet.EnterpriseProjectTypeDataTable object.
Public class WorkflowDataSet.EnterpriseProjectTypeRowChangeEvent Event that occurs when data in a EnterpriseProjectTypeRow is changed.
Public class WorkflowDataSet.UpdateProjectWorkflowsDataTable Information about workflow updates contained in one or more WorkflowDataSet.UpdateProjectWorkflowsRow objects.
Public class WorkflowDataSet.UpdateProjectWorkflowsRow Represents workflow update information as a row in the WorkflowDataSet.UpdateProjectWorkflowsDataTable object.
Public class WorkflowDataSet.UpdateProjectWorkflowsRowChangeEvent Event that occurs when data in an UpdateProjectWorkflowsRow is changed.
Public class WorkflowDataSet.WorkflowAssociationDataTable Represents information about workflow associations contained in one or more WorkflowDataSet.WorkflowAssociationRow objects.
Public class WorkflowDataSet.WorkflowAssociationRow Represents workflow association information as a row in the WorkflowDataSet.WorkflowAssociationDataTable object.
Public class WorkflowDataSet.WorkflowAssociationRowChangeEvent Event that occurs when data in a WorkflowAssociationRow is changed.
Public class WorkflowDataSet.WorkflowInstanceDataTable Represents information about workflow instances contained in one or more WorkflowDataSet.WorkflowInstanceRow objects.
Public class WorkflowDataSet.WorkflowInstanceRow Represents workflow instance information as a row in the WorkflowDataSet.WorkflowInstanceDataTable object.
Public class WorkflowDataSet.WorkflowInstanceRowChangeEvent Event that occurs when data in a WorkflowInstanceRow is changed.
Public class WorkflowDataSet.WorkflowPhaseDataTable Represents information about workflow phases contained in one or more WorkflowDataSet.WorkflowPhaseRow objects.
Public class WorkflowDataSet.WorkflowPhaseRow Represents workflow phase information as a row in the WorkflowDataSet.WorkflowPhaseDataTable object.
Public class WorkflowDataSet.WorkflowPhaseRowChangeEvent Event that occurs when data in a WorkflowPhaseRow is changed.
Public class WorkflowDataSet.WorkflowStageCustomFieldsDataTable Represents information about workflow stage custom fields that is contained in one or more WorkflowDataSet.WorkflowStageCustomFieldsRow objects.
Public class WorkflowDataSet.WorkflowStageCustomFieldsRow Represents workflow stage custom fields information as a row in the WorkflowDataSet.WorkflowStageCustomFieldsRow object.
Public class WorkflowDataSet.WorkflowStageCustomFieldsRowChangeEvent Event that occurs when data in a WorkflowStageCustomFieldsRow is changed.
Public class WorkflowDataSet.WorkflowStageDataTable Represents information about workflow stages that is contained in one or more WorkflowDataSet.WorkflowStageRow objects.
Public class WorkflowDataSet.WorkflowStagePDPsDataTable Represents information about the project detail pages of a workflow stage, contained in one or more WorkflowDataSet.WorkflowStagePDPsDataTable objects.
Public class WorkflowDataSet.WorkflowStagePDPsRow Represents the project detail page information of a workflow stage as a row in the WorkflowDataSet.WorkflowStagePDPsDataTable object.
Public class WorkflowDataSet.WorkflowStagePDPsRowChangeEvent Event that occurs when data in a WorkflowStagePDPsRow is changed.
Public class WorkflowDataSet.WorkflowStageRow Represents workflow stage information as a row in the WorkflowDataSet.WorkflowStageDataTable object.
Public class WorkflowDataSet.WorkflowStageRowChangeEvent Event that occurs when data in a WorkflowStageRow is changed.
Public class WorkflowDataSet.WorkflowStageStrategicImpactDataTable Represents information about the strategic impact of workflow stages, contained in one or more WorkflowDataSet.WorkflowStageStrategicImpactRow objects.
Public class WorkflowDataSet.WorkflowStageStrategicImpactRow Represents information about the strategic impact of workflow stages as a row in the WorkflowDataSet.WorkflowStageStrategicImpactDataTable object.
Public class WorkflowDataSet.WorkflowStageStrategicImpactRowChangeEvent Event that occurs when data in a WorkflowStageStrategicImpactRow is changed.
Public class WorkflowDataSet.WorkflowStatusDataTable Represents information about workflow status that is contained in one or more WorkflowDataSet.WorkflowStatusRow objects.
Public class WorkflowDataSet.WorkflowStatusRow The workflow status information, as a row in the WorkflowDataSet.WorkflowStatusDataTable object.
Public class WorkflowDataSet.WorkflowStatusRowChangeEvent Event that occurs when data in a WorkflowStatusRow is changed.

Delegates

  Delegate Description
Public delegate ResourceDataSet.CalendarExceptionsRowChangeEventHandler Describes event handler settings for when data associated with a ResourceDataSet.CalendarExceptionsRow is edited and an event should be triggered.
Public delegate ResourceDataSet.ResourceAvailabilitiesRowChangeEventHandler Describes event handler settings for when data associated with a ResourceDataSet.ResourceAvailabilitiesRow is edited and an event should be triggered.
Public delegate ResourceDataSet.ResourceCustomFieldsRowChangeEventHandler Describes event handler settings for when data associated with a ResourceDataSet.ResourceCustomFieldsRow is edited and an event should be triggered.
Public delegate ResourceDataSet.ResourceRatesRowChangeEventHandler Describes event handler settings for when data associated with a ResourceDataSet.ResourceRatesRow is edited and an event should be triggered.
Public delegate ResourceDataSet.ResourcesRowChangeEventHandler Describes event handler settings for when data associated with a ResourceDataSet.ResourcesRow is edited and an event should be triggered.
Public delegate WorkflowDataSet.EnterpriseProjectTypeDepartmentsRowChangeEventHandler Represents the method that handles events which occur when an action is performed on the data row.
Public delegate WorkflowDataSet.EnterpriseProjectTypePDPsRowChangeEventHandler Represents the method that handles events which occur when an action is performed on the data row.
Public delegate WorkflowDataSet.EnterpriseProjectTypeRowChangeEventHandler Represents the method that handles events which occur when an action is performed on the data row.
Public delegate WorkflowDataSet.UpdateProjectWorkflowsRowChangeEventHandler Represents the method that handles events which occur when an action is performed on the data row.
Public delegate WorkflowDataSet.WorkflowAssociationRowChangeEventHandler Represents the method that handles events which occur when an action is performed on the data row.
Public delegate WorkflowDataSet.WorkflowInstanceRowChangeEventHandler Represents the method that handles events which occur when an action is performed on the data row.
Public delegate WorkflowDataSet.WorkflowPhaseRowChangeEventHandler Represents the method that handles events which occur when an action is performed on the data row.
Public delegate WorkflowDataSet.WorkflowStageCustomFieldsRowChangeEventHandler Represents the method that handles events which occur when an action is performed on the data row.
Public delegate WorkflowDataSet.WorkflowStagePDPsRowChangeEventHandler Represents the method that handles events which occur when an action is performed on the data row.
Public delegate WorkflowDataSet.WorkflowStageRowChangeEventHandler Represents the method that handles events which occur when an action is performed on the data row.
Public delegate WorkflowDataSet.WorkflowStageStrategicImpactRowChangeEventHandler Represents the method that handles events which occur when an action is performed on the data row.
Public delegate WorkflowDataSet.WorkflowStatusRowChangeEventHandler Represents the method that handles events which occur when an action is performed on the data row.