AnalysisDataSet.AnalysisProjectsDataTable.AddAnalysisProjectsRow method (AnalysisDataSet.AnalysisRow, Guid, String, Double, Double, DateTime, DateTime, DateTime, Int32, DateTime, DateTime, Byte)
Adds an AnalysisProjectsRow object to the AnalysisProjectsDataTable by using separate parameters.
Namespace: WebSvcPortfolioAnalyses
Assembly: ProjectServerServices (in ProjectServerServices.dll)
Syntax
'Declaration
Public Function AddAnalysisProjectsRow ( _
parentAnalysisRowByFK_Analysis_AnalysisProjects As AnalysisDataSet.AnalysisRow, _
PROJ_UID As Guid, _
PROJ_NAME As String, _
PRIORITY As Double, _
ABSOLUTE_PRIORITY As Double, _
ORIGINAL_START_DATE As DateTime, _
ORIGINAL_END_DATE As DateTime, _
START_DATE As DateTime, _
DURATION As Integer, _
SNET As DateTime, _
FNLT As DateTime, _
LOCKED As Byte _
) As AnalysisDataSet.AnalysisProjectsRow
'Usage
Dim instance As AnalysisDataSet.AnalysisProjectsDataTable
Dim parentAnalysisRowByFK_Analysis_AnalysisProjects As AnalysisDataSet.AnalysisRow
Dim PROJ_UID As Guid
Dim PROJ_NAME As String
Dim PRIORITY As Double
Dim ABSOLUTE_PRIORITY As Double
Dim ORIGINAL_START_DATE As DateTime
Dim ORIGINAL_END_DATE As DateTime
Dim START_DATE As DateTime
Dim DURATION As Integer
Dim SNET As DateTime
Dim FNLT As DateTime
Dim LOCKED As Byte
Dim returnValue As AnalysisDataSet.AnalysisProjectsRow
returnValue = instance.AddAnalysisProjectsRow(parentAnalysisRowByFK_Analysis_AnalysisProjects, _
PROJ_UID, PROJ_NAME, PRIORITY, ABSOLUTE_PRIORITY, _
ORIGINAL_START_DATE, ORIGINAL_END_DATE, _
START_DATE, DURATION, SNET, FNLT, _
LOCKED)
public AnalysisDataSet.AnalysisProjectsRow AddAnalysisProjectsRow(
AnalysisDataSet.AnalysisRow parentAnalysisRowByFK_Analysis_AnalysisProjects,
Guid PROJ_UID,
string PROJ_NAME,
double PRIORITY,
double ABSOLUTE_PRIORITY,
DateTime ORIGINAL_START_DATE,
DateTime ORIGINAL_END_DATE,
DateTime START_DATE,
int DURATION,
DateTime SNET,
DateTime FNLT,
byte LOCKED
)
Parameters
- parentAnalysisRowByFK_Analysis_AnalysisProjects
Type: WebSvcPortfolioAnalyses.AnalysisDataSet.AnalysisRow
PROJ_UID
Type: System.GuidContains the project GUID.
PROJ_NAME
Type: System.StringContains the project name
PRIORITY
Type: System.DoubleContains the priority info.
ABSOLUTE_PRIORITY
Type: System.DoubleContains the non-normalized priority for the project within the Portfolio Analysis.
ORIGINAL_START_DATE
Type: System.DateTimeContains the original start date of the project.
ORIGINAL_END_DATE
Type: System.DateTimeContains the original end date of the project.
START_DATE
Type: System.DateTimeContains the start date of the project, modified to fit the time scale specified for the analysis.
DURATION
Type: System.Int32Contains the project in the same time scale as the analysis.
SNET
Type: System.DateTimeObsolete.
FNLT
Type: System.DateTimeObsolete.
LOCKED
Type: System.ByteSpecifies whether or not the project is locked.
Return value
Type: WebSvcPortfolioAnalyses.AnalysisDataSet.AnalysisProjectsRow
Remarks
In general, developers should use the AddAnalysisProjectsRow overload.
See also
Reference
AnalysisDataSet.AnalysisProjectsDataTable class
AnalysisDataSet.AnalysisProjectsDataTable members