ProjectDataSet.ProjectDataTable.AddProjectRow 方法

将一个ProjectRow对象添加到ProjectDataTable中。

命名空间:  WebSvcStatusing
程序集:  ProjectServerServices(位于 ProjectServerServices.dll 中)

语法

声明
Public Sub AddProjectRow ( _
    row As ProjectDataSet.ProjectRow _
)
用法
Dim instance As ProjectDataSet.ProjectDataTable
Dim row As ProjectDataSet.ProjectRow

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

参数

备注

AddProjectRow方法签名被重载,如下所示:

  • 第三方开发人员应使用的重载都一个ProjectDataSet.ProjectRow参数 ;例如, AddProjectRow(ProjectDataSet.ProjectRow row)。

  • Microsoft Visual Studio 在对象资源管理器中显示另一个重载,它使用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)

另请参阅

引用

ProjectDataSet.ProjectDataTable 类

ProjectDataSet.ProjectDataTable 成员

WebSvcStatusing 命名空间