AnalysisDataSet.AnalysisProjectRequirementsByRoleDataTable.AddAnalysisProjectRequirementsByRoleRow Method (Guid, Guid, Guid, Guid, DateTime, Decimal, Guid)
Adds an AnalysisProjectRequirementsByRoleRow object to the AnalysisProjectRequirementsByRoleDataTable 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 AddAnalysisProjectRequirementsByRoleRow ( _
ANALYSIS_UID As Guid, _
PROJ_UID As Guid, _
CUSTOM_FIELD_UID As Guid, _
LT_STRUCT_UID As Guid, _
START_DATE As DateTime, _
PROJECT_REQUIREMENT As Decimal, _
REQUIREMENT_UID As Guid _
) As AnalysisDataSet.AnalysisProjectRequirementsByRoleRow
'Usage
Dim instance As AnalysisDataSet.AnalysisProjectRequirementsByRoleDataTable
Dim ANALYSIS_UID As Guid
Dim PROJ_UID As Guid
Dim CUSTOM_FIELD_UID As Guid
Dim LT_STRUCT_UID As Guid
Dim START_DATE As DateTime
Dim PROJECT_REQUIREMENT As Decimal
Dim REQUIREMENT_UID As Guid
Dim returnValue As AnalysisDataSet.AnalysisProjectRequirementsByRoleRow
returnValue = instance.AddAnalysisProjectRequirementsByRoleRow(ANALYSIS_UID, _
PROJ_UID, CUSTOM_FIELD_UID, LT_STRUCT_UID, _
START_DATE, PROJECT_REQUIREMENT, _
REQUIREMENT_UID)
public AnalysisDataSet.AnalysisProjectRequirementsByRoleRow AddAnalysisProjectRequirementsByRoleRow(
Guid ANALYSIS_UID,
Guid PROJ_UID,
Guid CUSTOM_FIELD_UID,
Guid LT_STRUCT_UID,
DateTime START_DATE,
decimal PROJECT_REQUIREMENT,
Guid REQUIREMENT_UID
)
Parameters
- ANALYSIS_UID
Type: System.Guid
Contains the analysis GUID.
- PROJ_UID
Type: System.Guid
Contains the project GUID.
- CUSTOM_FIELD_UID
Type: System.Guid
Contains the custom field GUID.
- LT_STRUCT_UID
Type: System.Guid
Contains the lookup table GUID.
- START_DATE
Type: System.DateTime
Contains the beginning of the period of time the requirement information is based on
- PROJECT_REQUIREMENT
Type: System.Decimal
Contains the amount of resources needed for the specified role, for the specified project, time period, and analysis
- REQUIREMENT_UID
Type: System.Guid
Contains the requirement GUID.
Return Value
Type: [PortfolioAnalyses Web service].AnalysisDataSet.AnalysisProjectRequirementsByRoleRow
Returns AnalysisDataSet.AnalysisProjectRequirementsByRoleRow.
Remarks
In general, developers should use the AddAnalysisProjectRequirementsByRoleRow overload.
See Also
Reference
AnalysisDataSet.AnalysisProjectRequirementsByRoleDataTable Class
AnalysisDataSet.AnalysisProjectRequirementsByRoleDataTable Members