OptimizerSolutionDataSet.SolutionConstraintValuesDataTable.AddSolutionConstraintValuesRow Method (Guid, Guid, Guid, Decimal)
Adds a SolutionConstraintValuesRow object to the SolutionConstraintValuesDataTable 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 AddSolutionConstraintValuesRow ( _
SOLUTION_UID As Guid, _
MD_PROP_UID As Guid, _
PROJ_UID As Guid, _
NUM_VALUE As Decimal _
) As OptimizerSolutionDataSet.SolutionConstraintValuesRow
'Usage
Dim instance As OptimizerSolutionDataSet.SolutionConstraintValuesDataTable
Dim SOLUTION_UID As Guid
Dim MD_PROP_UID As Guid
Dim PROJ_UID As Guid
Dim NUM_VALUE As Decimal
Dim returnValue As OptimizerSolutionDataSet.SolutionConstraintValuesRow
returnValue = instance.AddSolutionConstraintValuesRow(SOLUTION_UID, _
MD_PROP_UID, PROJ_UID, NUM_VALUE)
public OptimizerSolutionDataSet.SolutionConstraintValuesRow AddSolutionConstraintValuesRow(
Guid SOLUTION_UID,
Guid MD_PROP_UID,
Guid PROJ_UID,
decimal NUM_VALUE
)
Parameters
- SOLUTION_UID
Type: System.Guid
Contains the solution GUID.
- MD_PROP_UID
Type: System.Guid
Contains the custom field GUID.
- PROJ_UID
Type: System.Guid
Contains the project GUID.
- NUM_VALUE
Type: System.Decimal
Contains the value of the constraint for the specified project.
Return Value
Type: [PortfolioAnalyses Web service].OptimizerSolutionDataSet.SolutionConstraintValuesRow
Remarks
In general, developers should use the AddSolutionConstraintValuesRow overload.
See Also
Reference
OptimizerSolutionDataSet.SolutionConstraintValuesDataTable Class
OptimizerSolutionDataSet.SolutionConstraintValuesDataTable Members