Partager via


ResourceAssignmentDataSet.ResourceAssignmentDataTable.AddResourceAssignmentRow Method

Adds a ResourceAssignmentRow object to the ResourceAssignmentDataTable object.

Namespace:  [Resource Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/Resource.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/Resource.asmx?wsdl

Syntax

'Declaration
Public Sub AddResourceAssignmentRow ( _
    row As ResourceAssignmentDataSet.ResourceAssignmentRow _
)
'Usage
Dim instance As ResourceAssignmentDataSet.ResourceAssignmentDataTable
Dim row As ResourceAssignmentDataSet.ResourceAssignmentRow

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

Parameters

Remarks

The AddResourceAssignmentRow method signature is overloaded as follows:

  • Third-party developers should use the overload that has a single ResourceAssignmentDataSet.ResourceAssignmentRow parameter, for example, AddResourceAssignmentRow(ResourceAssignmentDataSet.ResourceAssignmentRow row).

  • The Object Explorer in Microsoft Visual Studio shows another overload that uses individual parameters for all fields in ResourceAssignmentRow object. The overload is used internally.

    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) 
    

See Also

Reference

ResourceAssignmentDataSet.ResourceAssignmentDataTable Class

ResourceAssignmentDataSet.ResourceAssignmentDataTable Members

Resource Web Service