共用方式為


ResourceAssignmentDataSet.ResourceAssignmentDataTable.AddResourceAssignmentRow 方法

ResourceAssignmentRow會將物件新增到ResourceAssignmentDataTable物件。

命名空間:  WebSvcResource
組件:  ProjectServerServices (在 ProjectServerServices.dll 中)

語法

'宣告
Public Sub AddResourceAssignmentRow ( _
    row As ResourceAssignmentDataSet.ResourceAssignmentRow _
)
'用途
Dim instance As ResourceAssignmentDataSet.ResourceAssignmentDataTable
Dim row As ResourceAssignmentDataSet.ResourceAssignmentRow

instance.AddResourceAssignmentRow(row)
public void AddResourceAssignmentRow(
    ResourceAssignmentDataSet.ResourceAssignmentRow row
)

參數

備註

AddResourceAssignmentRow 方法簽章被超載,如下所示:

  • 協力廠商開發人員應該使用單一ResourceAssignmentDataSet.ResourceAssignmentRow參數,例如AddResourceAssignmentRow(ResourceAssignmentDataSet.ResourceAssignmentRow row)多載。

  • 在 Microsoft Visual Studio 的 [物件總管] 顯示另一個多載ResourceAssignmentRow物件中的所有欄位使用個別的參數。多載是在內部使用。

    public ResourceAssignmentRow AddResourceAssignmentRow(
        System.Guid PROJ_UID, string PROJ_NAME, System.Guid TASK_UID, 
        System.Guid ASSN_UID, System.Guid RES_UID, System.Guid ASSN_PARENT_UID, 
        System.DateTime ASSN_ACT_START, System.DateTime ASSN_ACT_FINISH, 
        int ASSN_WORK_CONTOUR, int ASSN_DELAY, int ASSN_LEVELING_DELAY, 
        int ASSN_COST_RATE_TABLE, double ASSN_UNITS, double ASSN_WORK, 
        double ASSN_ACT_WORK, double ASSN_BASE_WORK, double ASSN_REG_WORK, 
        double ASSN_OVT_WORK, double ASSN_REM_WORK, 
        double ASSN_ACT_OVT_WORK, double ASSN_REM_OVT_WORK, 
        System.DateTime ASSN_START_DATE, System.DateTime ASSN_FINISH_DATE, 
        System.DateTime ASSN_BASE_START, System.DateTime ASSN_BASE_FINISH, 
        System.DateTime ASSN_RESUME_DATE, System.DateTime ASSN_STOP_DATE, 
        double ASSN_BASE_COST_PER_USE, int ASSN_ENTSUMPROJID, 
        double ASSN_COST, double ASSN_ACT_COST, double ASSN_ACT_OVT_COST, 
        double ASSN_BASE_COST, double ASSN_REM_COST, double ASSN_REM_OVT_COST, 
        double ASSN_OVT_COST, 
        string TASK_NAME, string RES_NAME, int ASSN_PCT_WORK_COMPLETE, 
        double ASSN_ACWP, double ASSN_BCWP, double ASSN_BCWS, 
        short ASSN_BOOKING_TYPE, byte ASSN_DEMAND_REQ, 
        short ASSN_MATERIAL_RATE_FMT, short ASSN_DELAY_FMT, 
        int ASSN_START_VAR, int ASSN_FINISH_VAR, 
        bool ASSN_HAS_LINKED_FIELDS, bool ASSN_IS_CONFIRMED, 
        bool ASSN_IS_OVERALLOCATED, bool ASSN_RES_TYPE, 
        bool ASSN_RESPONSE_PENDING, System.DateTime WASSN_SEND_UPDATE_DATE, 
        int WASSN_NOTE_STATUS, bool ASSN_UPDATE_NEEDED, 
        System.DateTime CREATED_DATE, string WASSN_COMMENTS) 
    

請參閱

參照

ResourceAssignmentDataSet.ResourceAssignmentDataTable 類別

ResourceAssignmentDataSet.ResourceAssignmentDataTable 成員

WebSvcResource 命名空間