PlannerSolutionDataSet.SolutionResHiredDataTable.AddSolutionResHiredRow 方法 (PlannerSolutionDataSet.SolutionsRow, Guid, Guid, Guid, DateTime, Int32, Decimal, Decimal, Guid, String, String)
通过使用不同的参数向SolutionResHiredDataTable的SolutionResHiredRow对象。
命名空间: WebSvcPortfolioAnalyses
程序集: ProjectServerServices(位于 ProjectServerServices.dll 中)
语法
声明
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
用法
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
)
参数
- parentSolutionsRowByFK_Solutions_SolutionResHired
类型:WebSvcPortfolioAnalyses.PlannerSolutionDataSet.SolutionsRow
LT_STRUCT_UID
类型:System.Guid包含的查阅表格的 GUID。
CUSTOM_FIELD_UID
类型:System.Guid包含自定义字段的 GUID。
PROJ_UID
类型:System.Guid包含项目的 GUID。
START_DATE
类型:System.DateTime包含项目的开始日期。
DURATION
类型:System.Int32包含月份或季度 (取决于时间刻度) 聘用的分配的数。
RESOURCE_COST
类型:System.Decimal包含雇用来分配此解决方案中的项目的资源的总成本。
RESOURCE_WORK
类型:System.Decimal包含雇用来分配此解决方案中的项目 (根据 1/100 分钟) 的资源工时的总金额
RES_HIRE_UID
类型:System.Guid包含的雇用资源 GUID。
ROLE_NAME
类型:System.String包含资源的角色名称。
PROJ_NAME
类型:System.String包含项目名称。
返回值
类型:WebSvcPortfolioAnalyses.PlannerSolutionDataSet.SolutionResHiredRow
备注
一般情况下,开发人员应使用的AddSolutionResHiredRow重载。
另请参阅
引用
PlannerSolutionDataSet.SolutionResHiredDataTable 类