OptimizerSolutionDataSet.SolutionProjectsDataTable.AddSolutionProjectsRow Method (OptimizerSolutionDataSet.SolutionRow, Guid, String, Double, Double, Byte, Byte, Guid, String)
Adds a SolutionProjectsRow object to the SolutionProjectsDataTable 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 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
'Usage
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
)
Parameters
- parentSolutionRowByFK_Solution_SolutionProjects
Type: [PortfolioAnalyses Web service].OptimizerSolutionDataSet.SolutionRow
- PROJ_UID
Type: System.Guid
Contains the project GUID.
- PROJ_NAME
Type: System.String
Contains the project name.
- PRIORITY
Type: System.Double
Contains the priority assigned to the project within the analysis
- ABSOLUTE_PRIORITY
Type: System.Double
Contains the absolute (base) priority assigned to the project within the analysis.
- STATUS
Type: System.Byte
Contains the value that specifies the status of the project within the optimizer solution
- FORCE_STATUS
Type: System.Byte
Contains the value that specifies the forced status of the project within the optimizer solution
- FORCE_ALIAS_LT_STRUCT_UID
Type: System.Guid
Contains the GUID of the lookup table value that specifies the reason for forcing the project in or out of the solution.
- FORCE_ALIAS_LT_VALUE_FULL
Type: System.String
Contains the lookup table value that specifies the reason for forcing the project in or out of the solution.
Return Value
Type: [PortfolioAnalyses Web service].OptimizerSolutionDataSet.SolutionProjectsRow
Remarks
In general, developers should use the AddSolutionProjectsRow overload.
See Also
Reference
OptimizerSolutionDataSet.SolutionProjectsDataTable Class
OptimizerSolutionDataSet.SolutionProjectsDataTable Members