AnalysisDataSet.AnalysisRemainingCapacityByRoleDataTable.AddAnalysisRemainingCapacityByRoleRow Method (Guid, Guid, Guid, DateTime, DateTime, Decimal, Guid)
Adds an AnalysisRemainingCapacityByRoleRow object to the AnalysisRemainingCapacityByRoleDataTable 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 AddAnalysisRemainingCapacityByRoleRow ( _
ANALYSIS_UID As Guid, _
CUSTOM_FIELD_UID As Guid, _
LT_STRUCT_UID As Guid, _
START_DATE As DateTime, _
END_DATE As DateTime, _
REM_CAPACITY As Decimal, _
REM_CAPACITY_UID As Guid _
) As AnalysisDataSet.AnalysisRemainingCapacityByRoleRow
'Usage
Dim instance As AnalysisDataSet.AnalysisRemainingCapacityByRoleDataTable
Dim ANALYSIS_UID As Guid
Dim CUSTOM_FIELD_UID As Guid
Dim LT_STRUCT_UID As Guid
Dim START_DATE As DateTime
Dim END_DATE As DateTime
Dim REM_CAPACITY As Decimal
Dim REM_CAPACITY_UID As Guid
Dim returnValue As AnalysisDataSet.AnalysisRemainingCapacityByRoleRow
returnValue = instance.AddAnalysisRemainingCapacityByRoleRow(ANALYSIS_UID, _
CUSTOM_FIELD_UID, LT_STRUCT_UID, _
START_DATE, END_DATE, REM_CAPACITY, _
REM_CAPACITY_UID)
public AnalysisDataSet.AnalysisRemainingCapacityByRoleRow AddAnalysisRemainingCapacityByRoleRow(
Guid ANALYSIS_UID,
Guid CUSTOM_FIELD_UID,
Guid LT_STRUCT_UID,
DateTime START_DATE,
DateTime END_DATE,
decimal REM_CAPACITY,
Guid REM_CAPACITY_UID
)
Parameters
- ANALYSIS_UID
Type: System.Guid
Contains the analysis 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 start date that the capacity information is based on.
- END_DATE
Type: System.DateTime
Contains the end date that the capacity information is based on.
- REM_CAPACITY
Type: System.Decimal
Contains the amount of remaining capacity for the particular role in the analysis
- REM_CAPACITY_UID
Type: System.Guid
Contains the GUID for the capacity information.
Return Value
Type: [PortfolioAnalyses Web service].AnalysisDataSet.AnalysisRemainingCapacityByRoleRow
Remarks
In general, developers should use the AddAnalysisRemainingCapacityByRoleRow overload.
See Also
Reference
AnalysisDataSet.AnalysisRemainingCapacityByRoleDataTable Class
AnalysisDataSet.AnalysisRemainingCapacityByRoleDataTable Members