AnalysisDataSet.AnalysisOptimizerSolutionsDataTable.AddAnalysisOptimizerSolutionsRow Method (AnalysisDataSet.AnalysisRow, Guid, String, String, Guid, Boolean, DateTime, DateTime, Guid, String, Guid, String)
Adds a AnalysisOptimizerSolutionsRow object to the AnalysisOptimizerSolutionsDataTable 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 AddAnalysisOptimizerSolutionsRow ( _
parentAnalysisRowByFK_Analysis_AnalysisOptimizerSolutions As AnalysisDataSet.AnalysisRow, _
SOLUTION_UID As Guid, _
SOLUTION_NAME As String, _
SOLUTION_DESCRIPTION As String, _
FRONTIER_UID As Guid, _
OPT_USE_DEPENDENCIES As Boolean, _
CREATED_DATE As DateTime, _
MOD_DATE As DateTime, _
LAST_UPDATED_BY_RES_UID As Guid, _
LAST_UPDATED_BY_RES_NAME As String, _
CREATED_BY_RES_UID As Guid, _
CREATED_BY_RES_NAME As String _
) As AnalysisDataSet.AnalysisOptimizerSolutionsRow
'Usage
Dim instance As AnalysisDataSet.AnalysisOptimizerSolutionsDataTable
Dim parentAnalysisRowByFK_Analysis_AnalysisOptimizerSolutions As AnalysisDataSet.AnalysisRow
Dim SOLUTION_UID As Guid
Dim SOLUTION_NAME As String
Dim SOLUTION_DESCRIPTION As String
Dim FRONTIER_UID As Guid
Dim OPT_USE_DEPENDENCIES As Boolean
Dim CREATED_DATE As DateTime
Dim MOD_DATE As DateTime
Dim LAST_UPDATED_BY_RES_UID As Guid
Dim LAST_UPDATED_BY_RES_NAME As String
Dim CREATED_BY_RES_UID As Guid
Dim CREATED_BY_RES_NAME As String
Dim returnValue As AnalysisDataSet.AnalysisOptimizerSolutionsRow
returnValue = instance.AddAnalysisOptimizerSolutionsRow(parentAnalysisRowByFK_Analysis_AnalysisOptimizerSolutions, _
SOLUTION_UID, SOLUTION_NAME, SOLUTION_DESCRIPTION, _
FRONTIER_UID, OPT_USE_DEPENDENCIES, _
CREATED_DATE, MOD_DATE, LAST_UPDATED_BY_RES_UID, _
LAST_UPDATED_BY_RES_NAME, CREATED_BY_RES_UID, _
CREATED_BY_RES_NAME)
public AnalysisDataSet.AnalysisOptimizerSolutionsRow AddAnalysisOptimizerSolutionsRow(
AnalysisDataSet.AnalysisRow parentAnalysisRowByFK_Analysis_AnalysisOptimizerSolutions,
Guid SOLUTION_UID,
string SOLUTION_NAME,
string SOLUTION_DESCRIPTION,
Guid FRONTIER_UID,
bool OPT_USE_DEPENDENCIES,
DateTime CREATED_DATE,
DateTime MOD_DATE,
Guid LAST_UPDATED_BY_RES_UID,
string LAST_UPDATED_BY_RES_NAME,
Guid CREATED_BY_RES_UID,
string CREATED_BY_RES_NAME
)
Parameters
- parentAnalysisRowByFK_Analysis_AnalysisOptimizerSolutions
Type: [PortfolioAnalyses Web service].AnalysisDataSet.AnalysisRow
Contains the analysis information.
- SOLUTION_UID
Type: System.Guid
Contains the solution GUID.
- SOLUTION_NAME
Type: System.String
Contains the solution name.
- SOLUTION_DESCRIPTION
Type: System.String
Contains the solution description.
- FRONTIER_UID
Type: System.Guid
Contains the GUID of the efficient frontier.
- OPT_USE_DEPENDENCIES
Type: System.Boolean
Contains the Boolean value that specifies whether or not the optimizer solution respects portfolio analysis dependencies
- CREATED_DATE
Type: System.DateTime
Contains the date when the solution was created.
- MOD_DATE
Type: System.DateTime
Contains the date when the solution was modified.
- LAST_UPDATED_BY_RES_UID
Type: System.Guid
Contains the GUID of the resource that last updated the solution.
- LAST_UPDATED_BY_RES_NAME
Type: System.String
Contains the name of the resource that last updated the solution.
- CREATED_BY_RES_UID
Type: System.Guid
Contains the GUID of the resource that created the solution.
- CREATED_BY_RES_NAME
Type: System.String
Contains the name of the resource that created the solution.
Return Value
Type: [PortfolioAnalyses Web service].AnalysisDataSet.AnalysisOptimizerSolutionsRow
Remarks
In general, developers should use the AddAnalysisOptimizerSolutionsRow overload.
See Also
Reference
AnalysisDataSet.AnalysisOptimizerSolutionsDataTable Class
AnalysisDataSet.AnalysisOptimizerSolutionsDataTable Members