Partager via


ProjectDataSet.AssignmentDataTable.AddAssignmentRow Method

Adds an AssignmentRow object to the AssignmentDataTable object.

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

Syntax

'Declaration
Public Sub AddAssignmentRow ( _
    row As ProjectDataSet.AssignmentRow _
)
'Usage
Dim instance As ProjectDataSet.AssignmentDataTable
Dim row As ProjectDataSet.AssignmentRow

instance.AddAssignmentRow(row)
public void AddAssignmentRow(
    ProjectDataSet.AssignmentRow row
)

Parameters

Remarks

The AddAssignmentRow method signature is overloaded as follows:

  • Third-party developers should use the overload that has a single ProjectDataSet.AssignmentRow parameter, for example, AddAssignmentRow(ProjectDataSet.AssignmentRow row).

  • The Object Explorer in Microsoft Visual Studio shows another overload that uses individual parameters for all fields in the AssignmentRow object.

    AddAssignmentRow(Guid PROJ_UID, Guid TASK_UID, Guid ASSN_UID, Guid RES_UID, 
            Guid ASSN_PARENT_UID, DateTime ASSN_ACT_START, 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_REG_WORK, double ASSN_OVT_WORK, double ASSN_REM_WORK, 
            double ASSN_ACT_OVT_WORK, double ASSN_REM_OVT_WORK, DateTime ASSN_START_DATE, 
            DateTime ASSN_FINISH_DATE, double AB_WORK, DateTime AB_START, DateTime AB_FINISH, 
            double AB_COST_PER_USE, double AB_COST, DateTime ASSN_RESUME_DATE, 
            DateTime ASSN_STOP_DATE, int ASSN_ENTSUMPROJID, double ASSN_COST, 
            double ASSN_ACT_COST, double ASSN_ACT_OVT_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 WASSN_LOCKDOWN_BY_MANAGER, 
            bool ASSN_IS_CONFIRMED, bool ASSN_IS_PUBLISHED, bool ASSN_IS_OVERALLOCATED, 
            bool ASSN_RES_TYPE, bool ASSN_RESPONSE_PENDING, bool ASSN_UPDATE_NEEDED, 
            Guid RES_UID_OWNER, double ASSN_BUDGET_COST, double ASSN_BUDGET_WORK, 
            string PROJ_NAME, int PROJ_OPT_CURRENCY_DIGITS, int PROJ_OPT_CURRENCY_POSITION, 
            string PROJ_OPT_CURRENCY_SYMBOL, double ASSN_COST_VAR, double ASSN_CV, 
            string ASSN_HYPERLINK_FRIENDLY_NAME, string ASSN_HYPERLINK_ADDRESS, 
            string AssignmentHyperlinkHref, string ASSN_NOTES, double ASSN_SV, 
            double ASSN_VAC, double ASSN_WORK_VAR, string RES_MATERIAL_LABEL, 
            int RES_BOOKING_TYPE, int RES_TYPE, string RES_GROUP, 
            bool ResourceIsGeneric, DateTime MOD_DATE, DateTime CREATED_DATE)
    

See Also

Reference

ProjectDataSet.AssignmentDataTable Class

ProjectDataSet.AssignmentDataTable Members

Project Web Service