共用方式為


PortfolioAnalyses Web Service

The PortfolioAnalyses class is the primary class in the [PortfolioAnalyses Web service] namespace. The PortfolioAnalyses class includes methods that manage dependencies, Optimizer solutions, and Planner solutions for project portfolio analyses.

Note

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

The [PortfolioAnalyses Web service] namespace is an arbitrary name for a reference to the PortfolioAnalyses.asmx web service (or the PortfolioAnalyses.svc service) of the PSI in Microsoft Project Server 2010. Methods in the PortfolioAnalyses class can create, read, update, and delete dependencies for analyses of business projects. Methods can also manage the Planner and Optimizer solutions for portfolio analyses, and read an analysis result.

PortfolioAnalyses methods typically use or return one of the following DataSet objects:

Classes

  Class Description
Public class AnalysisDataSet Represents information about project portfolio analyses.
Public class AnalysisDataSet.AnalysisDataTable Represents information about project analyses that is contained in one or more AnalysisDataSet.AnalysisRow objects.
Public class AnalysisDataSet.AnalysisOptimizerSolutionsDataTable Represents information about optimizer solutions that is contained in one or more AnalysisDataSet.AnalysisOptimizerSolutionsRow objects.
Public class AnalysisDataSet.AnalysisOptimizerSolutionsRow Represents information about optimizer solutions as a row in the AnalysisDataSet.AnalysisOptimizerSolutionsDataTable object.
Public class AnalysisDataSet.AnalysisOptimizerSolutionsRowChangeEvent Event that occurs when data in an AnalysisDataSet.AnalysisOptimizerSolutionsRow is changed.
Public class AnalysisDataSet.AnalysisPlannerSolutionsDataTable Represents information about planner solutions that is contained in one or more AnalysisDataSet.AnalysisPlannerSolutionsRow objects.
Public class AnalysisDataSet.AnalysisPlannerSolutionsRow Represents planner solutions information as a row in the AnalysisDataSet.AnalysisPlannerSolutionsDataTable object.
Public class AnalysisDataSet.AnalysisPlannerSolutionsRowChangeEvent Event that occurs when data in an AnalysisPlannerSolutionsRow is changed.
Public class AnalysisDataSet.AnalysisPriorityDataDataTable Represents information about analysis priority that is contained in one or more AnalysisDataSet.AnalysisPriorityDataRow objects.
Public class AnalysisDataSet.AnalysisPriorityDataRow Represents analysis priority information as a row in the AnalysisDataSet.AnalysisPriorityDataDataTable object.
Public class AnalysisDataSet.AnalysisPriorityDataRowChangeEvent Event that occurs when data in an AnalysisPriorityDataRow is changed.
Public class AnalysisDataSet.AnalysisProjectImpactDataTable Represents information about project impacts that is contained in one or more AnalysisDataSet.AnalysisProjectImpactRow objects.
Public class AnalysisDataSet.AnalysisProjectImpactRow Represents project impact information as a row in the AnalysisDataSet.AnalysisProjectImpactDataTable object.
Public class AnalysisDataSet.AnalysisProjectImpactRowChangeEvent Event that occurs when data in an AnalysisDataSet.AnalysisProjectImpactRow is changed.
Public class AnalysisDataSet.AnalysisProjectRequirementsByRoleDataTable Represents information about project role requirements that is contained in one or more AnalysisDataSet.AnalysisProjectRequirementsByRoleRow objects.
Public class AnalysisDataSet.AnalysisProjectRequirementsByRoleRow Represents project role requirements information as a row in the AnalysisDataSet.AnalysisProjectRequirementsByRoleDataTable object.
Public class AnalysisDataSet.AnalysisProjectRequirementsByRoleRowChangeEvent Event that occurs when data in an AnalysisProjectRequirementsByRole is changed.
Public class AnalysisDataSet.AnalysisProjectsDataTable Represents information about analysis projects that is contained in one or more AnalysisDataSet.AnalysisProjectsRow objects.
Public class AnalysisDataSet.AnalysisProjectsRow Represents analysis projects information as a row in the AnalysisDataSet.AnalysisProjectsDataTable object.
Public class AnalysisDataSet.AnalysisProjectsRowChangeEvent Event that occurs when data in an AnalysisDataSet.AnalysisProjectsRow is changed.
Public class AnalysisDataSet.AnalysisRemainingCapacityByRoleDataTable Represents information about remaining capacity by role that is contained in one or more AnalysisDataSet.AnalysisRemainingCapacityByRoleRow objects.
Public class AnalysisDataSet.AnalysisRemainingCapacityByRoleRow Represents remaining capacity by role information as a row in the AnalysisDataSet.AnalysisRemainingCapacityByRoleDataTable object.
Public class AnalysisDataSet.AnalysisRemainingCapacityByRoleRowChangeEvent Event that occurs when data in an AnalysisRemainingCapacityByRoleRow is changed.
Public class AnalysisDataSet.AnalysisRoleRatesDataTable Represents information about role rates that is contained in one or more AnalysisDataSet.AnalysisRoleRatesRow objects.
Public class AnalysisDataSet.AnalysisRoleRatesRow Represents role rates information as a row in the AnalysisDataSet.AnalysisRoleRatesDataTable object.
Public class AnalysisDataSet.AnalysisRoleRatesRowChangeEvent Event that occurs when data in an AnalysisRoleRatesRow is changed.
Public class AnalysisDataSet.AnalysisRow Represents analysis information as a row in the AnalysisDataSet.AnalysisDataTable object.
Public class AnalysisDataSet.AnalysisRowChangeEvent Event that occurs when data in an AnalysisRow is changed.
Public class OptimizerDependencyDataSet Represents project dependencies that are used in optimizer operations.
Public class OptimizerDependencyDataSet.OptimizerDependenciesDataTable Represents information about project dependencies that is contained in one or more OptimizerDependencyDataSet.OptimizerDependenciesRow objects.
Public class OptimizerDependencyDataSet.OptimizerDependenciesRow Represents project dependencies information as a row in the OptimizerDependencyDataSet.OptimizerDependenciesDataTable object.
Public class OptimizerDependencyDataSet.OptimizerDependenciesRowChangeEvent Event that occurs when data in an OptimizerDependenciesRow is changed.
Public class OptimizerDependencyDataSet.OptimizerDependencyDetailsDataTable Represents information about dependency details that is contained in one or more OptimizerDependencyDataSet.OptimizerDependencyDetailsRow objects.
Public class OptimizerDependencyDataSet.OptimizerDependencyDetailsRow Represents project dependency details as a row in the OptimizerDependencyDataSet.OptimizerDependencyDetailsDataTable object.
Public class OptimizerDependencyDataSet.OptimizerDependencyDetailsRowChangeEvent Event that occurs when data in an OptimizerDependencyDetailsRow is changed.
Public class OptimizerSolutionDataSet Represents optimizer solution information.
Public class OptimizerSolutionDataSet.SolutionConstraintsDataTable Represents information about optimizer solution constraints that are contained in one or more OptimizerSolutionDataSet.SolutionConstraintsRow objects.
Public class OptimizerSolutionDataSet.SolutionConstraintsRow Represents solution constraints information as a row in the OptimizerSolutionDataSet.SolutionConstraintsDataTable object.
Public class OptimizerSolutionDataSet.SolutionConstraintsRowChangeEvent Event that occurs when data in a SolutionConstraintsRow is changed.
Public class OptimizerSolutionDataSet.SolutionConstraintValuesDataTable Represents information about constraint values that is contained in one or more OptimizerSolutionDataSet.SolutionConstraintValuesRow objects.
Public class OptimizerSolutionDataSet.SolutionConstraintValuesRow Represents solution constraint information as a row in the OptimizerSolutionDataSet.SolutionConstraintValuesDataTable object.
Public class OptimizerSolutionDataSet.SolutionConstraintValuesRowChangeEvent Event that occurs when data in a SolutionConstraintValuesRow is changed.
Public class OptimizerSolutionDataSet.SolutionDataTable Represents information about optimizer solutions that is contained in one or more OptimizerSolutionDataSet.SolutionRow objects.
Public class OptimizerSolutionDataSet.SolutionEfficientFrontierDataTable Represents information about the boundary between efficient optimizer solutions and inefficient optimizer solutions that is contained in one or more OptimizerSolutionDataSet.SolutionEfficientFrontierRow objects.
Public class OptimizerSolutionDataSet.SolutionEfficientFrontierRow Represents information about the boundary between efficient and inefficient optimizer solutions as a row in the OptimizerSolutionDataSet.SolutionEfficientFrontierDataTable object.
Public class OptimizerSolutionDataSet.SolutionEfficientFrontierRowChangeEvent Event that occurs when data in a SolutionEfficientFrontierRow is changed.
Public class OptimizerSolutionDataSet.SolutionProjectsDataTable Represents information about solution projects that is contained in one or more OptimizerSolutionDataSet.SolutionProjectsRow objects.
Public class OptimizerSolutionDataSet.SolutionProjectsRow Represents solution project information as a row in the OptimizerSolutionDataSet.SolutionProjectsDataTable object.
Public class OptimizerSolutionDataSet.SolutionProjectsRowChangeEvent Event that occurs when data in a SolutionProjectsRow is changed.
Public class OptimizerSolutionDataSet.SolutionRow Represents optimizer solution information as a row in the OptimizerSolutionDataSet.SolutionDataTable object.
Public class OptimizerSolutionDataSet.SolutionRowChangeEvent Event that occurs when data in a SolutionRow is changed.
Public class OptimizerSolutionDataSet.SolutionStrategicAlignmentDataTable Represents information about the strategic alignment of a solution, contained in one or more OptimizerSolutionDataSet.SolutionStrategicAlignmentRow objects.
Public class OptimizerSolutionDataSet.SolutionStrategicAlignmentRow Represents the strategic alignment of a solution as a row in the OptimizerSolutionDataSet.SolutionStrategicAlignmentDataTable object.
Public class OptimizerSolutionDataSet.SolutionStrategicAlignmentRowChangeEvent Event that occurs when data in a SolutionStrategicAlignmentRow is changed.
Public class PlannerSolutionDataSet Represents planner solution information.
Public class PlannerSolutionDataSet.SolutionEfficientFrontierDataTable Represents information about the boundary between efficient and inefficient solutions that is contained in one or more PlannerSolutionDataSet.SolutionEfficientFrontierRow objects.
Public class PlannerSolutionDataSet.SolutionEfficientFrontierRow Represents information about the boundary between efficient and inefficient solutions as a row in the PlannerSolutionDataSet.SolutionEfficientFrontierDataTable object.
Public class PlannerSolutionDataSet.SolutionEfficientFrontierRowChangeEvent Event that occurs when data in a SolutionEfficientFrontierRow is changed.
Public class PlannerSolutionDataSet.SolutionProjectRequirementsByRoleDataTable Represents information about project role requirements that is contained in one or more PlannerSolutionDataSet.SolutionProjectRequirementsByRoleRow objects.
Public class PlannerSolutionDataSet.SolutionProjectRequirementsByRoleRow Represents project role requirements information as a row in the PlannerSolutionDataSet.SolutionProjectRequirementsByRoleDataTable object.
Public class PlannerSolutionDataSet.SolutionProjectRequirementsByRoleRowChangeEvent Event that occurs when data in a SolutionProjectRequirementsByRoleRow is changed.
Public class PlannerSolutionDataSet.SolutionProjectsDataTable Represents information about solution projects that is contained in one or more PlannerSolutionDataSet.SolutionProjectsRow objects.
Public class PlannerSolutionDataSet.SolutionProjectsRow Represents solution project information as a row in the PlannerSolutionDataSet.SolutionProjectsDataTable object.
Public class PlannerSolutionDataSet.SolutionProjectsRowChangeEvent Event that occurs when data in a SolutionProjectsRow is changed.
Public class PlannerSolutionDataSet.SolutionResHiredDataTable Represents information about resources hired that is contained in one or more PlannerSolutionDataSet.SolutionResHiredRow objects.
Public class PlannerSolutionDataSet.SolutionResHiredRow Represents resources hired information as a row in the PlannerSolutionDataSet.SolutionResHiredDataTable object.
Public class PlannerSolutionDataSet.SolutionResHiredRowChangeEvent Event that occurs when data in a SolutionResHiredRow is changed.
Public class PlannerSolutionDataSet.SolutionsDataTable Represents information about planner solutions contained in one or more PlannerSolutionDataSet.SolutionsRow objects.
Public class PlannerSolutionDataSet.SolutionsRow Represents planner solutions information as a row in the PlannerSolutionDataSet.SolutionsDataTable object.
Public class PlannerSolutionDataSet.SolutionsRowChangeEvent Event that occurs when data in a SolutionsRow is changed.
Public class PortfolioAnalyses Provides methods to create project solutions that manage relationships between plans, resources, tasks, and projects.

Delegates

  Delegate Description
Public delegate AnalysisDataSet.AnalysisOptimizerSolutionsRowChangeEventHandler Represents the method that handles events which occur when an action is performed on the data row.
Public delegate AnalysisDataSet.AnalysisPlannerSolutionsRowChangeEventHandler Represents the method that handles events which occur when an action is performed on the data row.
Public delegate AnalysisDataSet.AnalysisPriorityDataRowChangeEventHandler Represents the method that handles events which occur when an action is performed on the data row.
Public delegate AnalysisDataSet.AnalysisProjectImpactRowChangeEventHandler Represents the method that handles events which occur when an action is performed on the data row.
Public delegate AnalysisDataSet.AnalysisProjectRequirementsByRoleRowChangeEventHandler Represents the method that handles events which occur when an action is performed on the data row.
Public delegate AnalysisDataSet.AnalysisProjectsRowChangeEventHandler Represents the method that handles events which occur when an action is performed on the data row.
Public delegate AnalysisDataSet.AnalysisRemainingCapacityByRoleRowChangeEventHandler Represents the method that handles events which occur when an action is performed on the data row.
Public delegate AnalysisDataSet.AnalysisRoleRatesRowChangeEventHandler Represents the method that handles events which occur when an action is performed on the data row.
Public delegate AnalysisDataSet.AnalysisRowChangeEventHandler Represents the method that handles events which occur when an action is performed on the data row.
Public delegate OptimizerDependencyDataSet.OptimizerDependenciesRowChangeEventHandler Represents the method that handles events which occur when an action is performed on the data row.
Public delegate OptimizerDependencyDataSet.OptimizerDependencyDetailsRowChangeEventHandler Represents the method that handles events which occur when an action is performed on the data row.
Public delegate OptimizerSolutionDataSet.SolutionConstraintsRowChangeEventHandler Represents the method that handles events which occur when an action is performed on the data row.
Public delegate OptimizerSolutionDataSet.SolutionConstraintValuesRowChangeEventHandler Represents the method that handles events which occur when an action is performed on the data row.
Public delegate OptimizerSolutionDataSet.SolutionEfficientFrontierRowChangeEventHandler Represents the method that handles events which occur when an action is performed on the data row.
Public delegate OptimizerSolutionDataSet.SolutionProjectsRowChangeEventHandler Represents the method that handles events which occur when an action is performed on the data row.
Public delegate OptimizerSolutionDataSet.SolutionRowChangeEventHandler Represents the method that handles events which occur when an action is performed on the data row.
Public delegate OptimizerSolutionDataSet.SolutionStrategicAlignmentRowChangeEventHandler Represents the method that handles events which occur when an action is performed on the data row.
Public delegate PlannerSolutionDataSet.SolutionEfficientFrontierRowChangeEventHandler Represents the method that handles events which occur when an action is performed on the data row.
Public delegate PlannerSolutionDataSet.SolutionProjectRequirementsByRoleRowChangeEventHandler Represents the method that handles events which occur when an action is performed on the data row.
Public delegate PlannerSolutionDataSet.SolutionProjectsRowChangeEventHandler Represents the method that handles events which occur when an action is performed on the data row.
Public delegate PlannerSolutionDataSet.SolutionResHiredRowChangeEventHandler Represents the method that handles events which occur when an action is performed on the data row.
Public delegate PlannerSolutionDataSet.SolutionsRowChangeEventHandler Represents the method that handles events which occur when an action is performed on the data row.

See Also

Reference

[Driver Web service]

[Workflow Web service]