Sdílet prostřednictvím


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

Adds a SolutionStrategicAlignmentRow object to the SolutionStrategicAlignmentDataTable by using separate parameters.

Namespace:  [PortfolioAnalyses Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/PortfolioAnalyses.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/PortfolioAnalyses.asmx?wsdl

Syntax

'Declaration
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
'Usage
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
)

Parameters

  • DRIVER_UID
    Type: System.Guid
    Contains the driver GUID.
  • DRIVER_PRIORITY
    Type: System.Double
    Contains the driver priority.
  • REVERSE_VALUE
    Type: System.Decimal
    Contains the value that specifies how much of the total primary constraint value for the selected projects is devoted to the driver in the optimizer solution.

Return Value

Type: [PortfolioAnalyses Web service].OptimizerSolutionDataSet.SolutionStrategicAlignmentRow

Remarks

In general, developers should use the AddSolutionStrategicAlignmentRow overload.

See Also

Reference

OptimizerSolutionDataSet.SolutionStrategicAlignmentDataTable Class

OptimizerSolutionDataSet.SolutionStrategicAlignmentDataTable Members

AddSolutionStrategicAlignmentRow Overload

PortfolioAnalyses Web Service