次の方法で共有


ProjectDataSet.ProjectDataTable.AddProjectRow Method

Adds a ProjectRow object to the ProjectDataTable.

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

Syntax

'Declaration
Public Sub AddProjectRow ( _
    row As ProjectDataSet.ProjectRow _
)
'Usage
Dim instance As ProjectDataSet.ProjectDataTable
Dim row As ProjectDataSet.ProjectRow

instance.AddProjectRow(row)
public void AddProjectRow(
    ProjectDataSet.ProjectRow row
)

Parameters

Remarks

The AddProjectRow method signature is overloaded as follows:

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

  • The Object Explorer in Microsoft Visual Studio shows another overload, which uses individual parameters for all fields in ProjectRow.

public ProjectRow AddProjectRow(
        Guid PROJ_UID, string PROJ_NAME, int PROJ_TYPE, 
        string PROJ_PROP_AUTHOR, Guid CAL_UID, string CAL_NAME, 
        string PROJ_PROP_CATEGORY, string PROJ_PROP_COMPANY, 
        string PROJ_PROP_KEYWORDS, string PROJ_PROP_MANAGER, 
        string PROJ_PROP_SUBJECT, string PROJ_PROP_TITLE, 
        bool PROJ_OPT_CALC_ACT_COSTS, int PROJ_OPT_CRITICAL_SLACK_LIMIT, 
        int PROJ_OPT_CURRENCY_DIGITS, int PROJ_OPT_CURRENCY_POSITION, 
        string PROJ_OPT_CURRENCY_SYMBOL, string PROJ_OPT_CURRENCY_CODE, 
        bool PROJ_OPT_NEW_TASKS_ARE_EFFORT_DRIVEN, DateTime PROJ_INFO_CURRENT_DATE, 
        DateTime PROJ_OPT_DEF_FINISH_TIME, int PROJ_OPT_DEF_FIX_COST_ACCRUAL, 
        double PROJ_OPT_DEF_OVT_RATE, double PROJ_OPT_DEF_STD_RATE, 
        DateTime PROJ_OPT_DEF_START_TIME, int PROJ_OPT_DEF_TASK_TYPE, 
        int WPROJ_TRACKING_METHOD, int PROJ_OPT_DUR_ENTRY_FMT, 
        DateTime PROJ_INFO_FINISH_DATE, bool PROJ_OPT_HONOR_CONSTRAINTS, 
        bool PROJ_OPT_MULT_CRITICAL_PATHS, bool PROJ_INFO_SCHED_FROM, 
        bool PROJ_OPT_SPLIT_IN_PROGRESS, bool PROJ_OPT_SPREAD_ACT_COSTS, 
        bool PROJ_OPT_SPREAD_PCT_COMP, DateTime PROJ_INFO_START_DATE, 
        DateTime PROJ_INFO_STATUS_DATE, bool PROJ_OPT_TASK_UPDATES_RES, 
        int PROJ_OPT_WORK_ENTRY_FMT, bool PROJ_OPT_NEW_TASK_EST, 
        bool PROJ_PROTECTED_ACTUALS_SYNCH, short ProjectOptionDefaultOvertimeRateFormat, 
        short ProjectOptionDefaultStandardRateFormat, short PROJ_OPT_FY_START_MONTH, 
        bool PROJ_OPT_FY_USE_START_YR, int PROJ_OPT_MINUTES_PER_DAY, 
        int PROJ_OPT_MINUTES_PER_WEEK, short PROJ_OPT_DAYS_PER_MONTH, 
        bool PROJ_OPT_MOVE_ACTUAL_IF_LATER, bool PROJ_OPT_MOVE_ACTUAL_TO_STATUS, 
        bool PROJ_OPT_MOVE_REMAINING_IF_EARLIER, bool PROJ_OPT_MOVE_REMAINING_TO_STATUS, 
        bool PROJ_OPT_SHOW_EST_DUR, short PROJ_OPT_WEEK_START_DAY, 
        Guid WPROJ_ISSUE_LIST_NAME, Guid WPROJ_RISK_LIST_NAME, 
        string WPROJ_STS_SUBWEB_NAME, Guid WSTS_SERVER_UID, 
        Guid ProjectOwnerID, Guid PROJ_CHECKOUTBY, DateTime PROJ_CHECKOUTDATE, 
        Guid PROJ_SESSION_UID, string PROJ_SESSION_DESCRIPTION, int PROJ_STALE_FLAGS, 
        string WPROJ_DESCRIPTION, DateTime WPROJ_LAST_PUB, 
        DateTime PROJ_LAST_SAVED, DateTime CREATED_DATE)

See Also

Reference

ProjectDataSet.ProjectDataTable Class

ProjectDataSet.ProjectDataTable Members

Statusing Web Service