Share via


AnalysisDataSet.AnalysisPriorityDataDataTable.AddAnalysisPriorityDataRow Method (AnalysisDataSet.AnalysisRow, Guid, String, Double, Decimal, Decimal)

Adds a AnalysisPriorityRow object to the AnalysisPriorityDataTable 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 AddAnalysisPriorityDataRow ( _
    parentAnalysisRowByFK_Analysis_AnalysisPriorityData As AnalysisDataSet.AnalysisRow, _
    MD_PROP_UID As Guid, _
    MD_PROP_NAME As String, _
    WEIGHT As Double, _
    MIN_VALUE As Decimal, _
    MAX_VALUE As Decimal _
) As AnalysisDataSet.AnalysisPriorityDataRow
'Usage
Dim instance As AnalysisDataSet.AnalysisPriorityDataDataTable
Dim parentAnalysisRowByFK_Analysis_AnalysisPriorityData As AnalysisDataSet.AnalysisRow
Dim MD_PROP_UID As Guid
Dim MD_PROP_NAME As String
Dim WEIGHT As Double
Dim MIN_VALUE As Decimal
Dim MAX_VALUE As Decimal
Dim returnValue As AnalysisDataSet.AnalysisPriorityDataRow

returnValue = instance.AddAnalysisPriorityDataRow(parentAnalysisRowByFK_Analysis_AnalysisPriorityData, _
    MD_PROP_UID, MD_PROP_NAME, WEIGHT, _
    MIN_VALUE, MAX_VALUE)
public AnalysisDataSet.AnalysisPriorityDataRow AddAnalysisPriorityDataRow(
    AnalysisDataSet.AnalysisRow parentAnalysisRowByFK_Analysis_AnalysisPriorityData,
    Guid MD_PROP_UID,
    string MD_PROP_NAME,
    double WEIGHT,
    decimal MIN_VALUE,
    decimal MAX_VALUE
)

Parameters

  • MD_PROP_UID
    Type: System.Guid
    Contains the custom field GUID.
  • MD_PROP_NAME
    Type: System.String
    Contains the custom field name.
  • WEIGHT
    Type: System.Double
    Contains the weight assigned to the custom field when prioritizing projects in the analysis.
  • MIN_VALUE
    Type: System.Decimal
    Contains the minimum value for the custom field.
  • MAX_VALUE
    Type: System.Decimal
    Contains the maximum value for the custom field.

Return Value

Type: [PortfolioAnalyses Web service].AnalysisDataSet.AnalysisPriorityDataRow

Remarks

In general, developers should use the AddAnalysisPriorityDataRow overload.

See Also

Reference

AnalysisDataSet.AnalysisPriorityDataDataTable Class

AnalysisDataSet.AnalysisPriorityDataDataTable Members

AddAnalysisPriorityDataRow Overload

PortfolioAnalyses Web Service