OptimizerSolutionDataSet.SolutionProjectsDataTable.AddSolutionProjectsRow 方法 (OptimizerSolutionDataSet.SolutionRow, Guid, String, Double, Double, Byte, Byte, Guid, String)

通过使用不同的参数向SolutionProjectsDataTable的SolutionProjectsRow对象。

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

语法

声明
Public Function AddSolutionProjectsRow ( _
    parentSolutionRowByFK_Solution_SolutionProjects As OptimizerSolutionDataSet.SolutionRow, _
    PROJ_UID As Guid, _
    PROJ_NAME As String, _
    PRIORITY As Double, _
    ABSOLUTE_PRIORITY As Double, _
    STATUS As Byte, _
    FORCE_STATUS As Byte, _
    FORCE_ALIAS_LT_STRUCT_UID As Guid, _
    FORCE_ALIAS_LT_VALUE_FULL As String _
) As OptimizerSolutionDataSet.SolutionProjectsRow
用法
Dim instance As OptimizerSolutionDataSet.SolutionProjectsDataTable
Dim parentSolutionRowByFK_Solution_SolutionProjects As OptimizerSolutionDataSet.SolutionRow
Dim PROJ_UID As Guid
Dim PROJ_NAME As String
Dim PRIORITY As Double
Dim ABSOLUTE_PRIORITY As Double
Dim STATUS As Byte
Dim FORCE_STATUS As Byte
Dim FORCE_ALIAS_LT_STRUCT_UID As Guid
Dim FORCE_ALIAS_LT_VALUE_FULL As String
Dim returnValue As OptimizerSolutionDataSet.SolutionProjectsRow

returnValue = instance.AddSolutionProjectsRow(parentSolutionRowByFK_Solution_SolutionProjects, _
    PROJ_UID, PROJ_NAME, PRIORITY, ABSOLUTE_PRIORITY, _
    STATUS, FORCE_STATUS, FORCE_ALIAS_LT_STRUCT_UID, _
    FORCE_ALIAS_LT_VALUE_FULL)
public OptimizerSolutionDataSet.SolutionProjectsRow AddSolutionProjectsRow(
    OptimizerSolutionDataSet.SolutionRow parentSolutionRowByFK_Solution_SolutionProjects,
    Guid PROJ_UID,
    string PROJ_NAME,
    double PRIORITY,
    double ABSOLUTE_PRIORITY,
    byte STATUS,
    byte FORCE_STATUS,
    Guid FORCE_ALIAS_LT_STRUCT_UID,
    string FORCE_ALIAS_LT_VALUE_FULL
)

参数

  • PROJ_UID
    类型:System.Guid

    包含项目的 GUID。

  • PRIORITY
    类型:System.Double

    包含分配给分析中的项目的优先级

  • ABSOLUTE_PRIORITY
    类型:System.Double

    包含分配给分析中的项目的绝对 (基本) 优先级。

  • STATUS
    类型:System.Byte

    包含用于指定优化解决方案中项目的状态的值

  • FORCE_STATUS
    类型:System.Byte

    包含指定强制优化程序解决方案中的项目的状态的值

  • FORCE_ALIAS_LT_STRUCT_UID
    类型:System.Guid

    包含的 GUID 的查阅表格值,它指定强制或从该解决方案中的项目的原因。

  • FORCE_ALIAS_LT_VALUE_FULL
    类型:System.String

    包含的查阅表格值,它指定强制或从该解决方案中的项目的原因。

返回值

类型:WebSvcPortfolioAnalyses.OptimizerSolutionDataSet.SolutionProjectsRow

备注

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

另请参阅

引用

OptimizerSolutionDataSet.SolutionProjectsDataTable 类

OptimizerSolutionDataSet.SolutionProjectsDataTable 成员

AddSolutionProjectsRow 重载

WebSvcPortfolioAnalyses 命名空间