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: [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 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: [PortfolioAnalyses Web service].AnalysisDataSet.AnalysisRow
- 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 info.
- ABSOLUTE_PRIORITY
Type: System.Double
Contains the non-normalized priority for the project within the Portfolio Analysis.
- ORIGINAL_START_DATE
Type: System.DateTime
Contains the original start date of the project.
- ORIGINAL_END_DATE
Type: System.DateTime
Contains the original end date of the project.
- START_DATE
Type: System.DateTime
Contains the start date of the project, modified to fit the time scale specified for the analysis.
- DURATION
Type: System.Int32
Contains the project in the same time scale as the analysis.
- SNET
Type: System.DateTime
Obsolete. Not used in Project Server 2010.
- FNLT
Type: System.DateTime
Obsolete. Not used in Project Server 2010.
- LOCKED
Type: System.Byte
Specifies whether or not the project is locked.
Return Value
Type: [PortfolioAnalyses Web service].AnalysisDataSet.AnalysisProjectsRow
Remarks
In general, developers should use the AddAnalysisProjectsRow overload.
See Also
Reference
AnalysisDataSet.AnalysisProjectsDataTable Class
AnalysisDataSet.AnalysisProjectsDataTable Members