PlannerSolutionDataSet.SolutionResHiredDataTable.AddSolutionResHiredRow method (PlannerSolutionDataSet.SolutionsRow, Guid, Guid, Guid, DateTime, Int32, Decimal, Decimal, Guid, String, String)
Adds a SolutionResHiredRow object to the SolutionResHiredDataTable by using separate parameters.
Namespace: WebSvcPortfolioAnalyses
Assembly: ProjectServerServices (in ProjectServerServices.dll)
Syntax
'Declaration
Public Function AddSolutionResHiredRow ( _
parentSolutionsRowByFK_Solutions_SolutionResHired As PlannerSolutionDataSet.SolutionsRow, _
LT_STRUCT_UID As Guid, _
CUSTOM_FIELD_UID As Guid, _
PROJ_UID As Guid, _
START_DATE As DateTime, _
DURATION As Integer, _
RESOURCE_COST As Decimal, _
RESOURCE_WORK As Decimal, _
RES_HIRE_UID As Guid, _
ROLE_NAME As String, _
PROJ_NAME As String _
) As PlannerSolutionDataSet.SolutionResHiredRow
'Usage
Dim instance As PlannerSolutionDataSet.SolutionResHiredDataTable
Dim parentSolutionsRowByFK_Solutions_SolutionResHired As PlannerSolutionDataSet.SolutionsRow
Dim LT_STRUCT_UID As Guid
Dim CUSTOM_FIELD_UID As Guid
Dim PROJ_UID As Guid
Dim START_DATE As DateTime
Dim DURATION As Integer
Dim RESOURCE_COST As Decimal
Dim RESOURCE_WORK As Decimal
Dim RES_HIRE_UID As Guid
Dim ROLE_NAME As String
Dim PROJ_NAME As String
Dim returnValue As PlannerSolutionDataSet.SolutionResHiredRow
returnValue = instance.AddSolutionResHiredRow(parentSolutionsRowByFK_Solutions_SolutionResHired, _
LT_STRUCT_UID, CUSTOM_FIELD_UID, _
PROJ_UID, START_DATE, DURATION, RESOURCE_COST, _
RESOURCE_WORK, RES_HIRE_UID, ROLE_NAME, _
PROJ_NAME)
public PlannerSolutionDataSet.SolutionResHiredRow AddSolutionResHiredRow(
PlannerSolutionDataSet.SolutionsRow parentSolutionsRowByFK_Solutions_SolutionResHired,
Guid LT_STRUCT_UID,
Guid CUSTOM_FIELD_UID,
Guid PROJ_UID,
DateTime START_DATE,
int DURATION,
decimal RESOURCE_COST,
decimal RESOURCE_WORK,
Guid RES_HIRE_UID,
string ROLE_NAME,
string PROJ_NAME
)
Parameters
- parentSolutionsRowByFK_Solutions_SolutionResHired
Type: WebSvcPortfolioAnalyses.PlannerSolutionDataSet.SolutionsRow
LT_STRUCT_UID
Type: System.GuidContains the lookup table GUID.
CUSTOM_FIELD_UID
Type: System.GuidContains the custom field GUID.
PROJ_UID
Type: System.GuidContains the project GUID.
START_DATE
Type: System.DateTimeContains the project start date.
DURATION
Type: System.Int32Contains the number of months or quarters (depending on the timescale) for the hiring allocation.
RESOURCE_COST
Type: System.DecimalContains the total cost of resources hired to allocate the project in this solution.
RESOURCE_WORK
Type: System.DecimalContains the total amount of resource work (in terms of 1/100 of a minute) hired to allocate the project in this solution
RES_HIRE_UID
Type: System.GuidContains the GUID of the hired resource.
ROLE_NAME
Type: System.StringContains the resource role name.
PROJ_NAME
Type: System.StringContains the project name.
Return value
Type: WebSvcPortfolioAnalyses.PlannerSolutionDataSet.SolutionResHiredRow
Remarks
In general, developers should use the AddSolutionResHiredRow overload.
See also
Reference
PlannerSolutionDataSet.SolutionResHiredDataTable class
PlannerSolutionDataSet.SolutionResHiredDataTable members