OptimizerSolutionDataSet.SolutionStrategicAlignmentDataTable.AddSolutionStrategicAlignmentRow 方法 (OptimizerSolutionDataSet.SolutionRow, Guid, String, Double, Decimal)

通过使用不同的参数向SolutionStrategicAlignmentDataTable的SolutionStrategicAlignmentRow对象。

命名空间:  WebSvcPortfolioAnalyses
程序集:  ProjectServerServices(位于 ProjectServerServices.dll 中)

语法

声明
Public Function AddSolutionStrategicAlignmentRow ( _
    parentSolutionRowByFK_Solution_SolutionStrategicAlignment As OptimizerSolutionDataSet.SolutionRow, _
    DRIVER_UID As Guid, _
    DRIVER_NAME As String, _
    DRIVER_PRIORITY As Double, _
    REVERSE_VALUE As Decimal _
) As OptimizerSolutionDataSet.SolutionStrategicAlignmentRow
用法
Dim instance As OptimizerSolutionDataSet.SolutionStrategicAlignmentDataTable
Dim parentSolutionRowByFK_Solution_SolutionStrategicAlignment As OptimizerSolutionDataSet.SolutionRow
Dim DRIVER_UID As Guid
Dim DRIVER_NAME As String
Dim DRIVER_PRIORITY As Double
Dim REVERSE_VALUE As Decimal
Dim returnValue As OptimizerSolutionDataSet.SolutionStrategicAlignmentRow

returnValue = instance.AddSolutionStrategicAlignmentRow(parentSolutionRowByFK_Solution_SolutionStrategicAlignment, _
    DRIVER_UID, DRIVER_NAME, DRIVER_PRIORITY, _
    REVERSE_VALUE)
public OptimizerSolutionDataSet.SolutionStrategicAlignmentRow AddSolutionStrategicAlignmentRow(
    OptimizerSolutionDataSet.SolutionRow parentSolutionRowByFK_Solution_SolutionStrategicAlignment,
    Guid DRIVER_UID,
    string DRIVER_NAME,
    double DRIVER_PRIORITY,
    decimal REVERSE_VALUE
)

参数

  • DRIVER_UID
    类型:System.Guid

    包含驱动程序的 GUID。

  • DRIVER_NAME
    类型:System.String

    包含驱动程序的名称。

  • DRIVER_PRIORITY
    类型:System.Double

    包含驱动程序的优先级。

  • REVERSE_VALUE
    类型:System.Decimal

    包含值,它指定给优化程序解决方案中的驱动程序专门用于所选项目总的主键约束值的多少。

返回值

类型:WebSvcPortfolioAnalyses.OptimizerSolutionDataSet.SolutionStrategicAlignmentRow

备注

一般情况下,开发人员应使用的AddSolutionStrategicAlignmentRow重载。

另请参阅

引用

OptimizerSolutionDataSet.SolutionStrategicAlignmentDataTable 类

OptimizerSolutionDataSet.SolutionStrategicAlignmentDataTable 成员

AddSolutionStrategicAlignmentRow 重载

WebSvcPortfolioAnalyses 命名空间