AnalysisDataSet.AnalysisProjectsDataTable.AddAnalysisProjectsRow 方法 (AnalysisDataSet.AnalysisRow, Guid, String, Double, Double, DateTime, DateTime, DateTime, Int32, DateTime, DateTime, Byte)
通过使用不同的参数向AnalysisProjectsDataTable的AnalysisProjectsRow对象。
命名空间: WebSvcPortfolioAnalyses
程序集: ProjectServerServices(位于 ProjectServerServices.dll 中)
语法
声明
Public Function AddAnalysisProjectsRow ( _
parentAnalysisRowByFK_Analysis_AnalysisProjects As AnalysisDataSet.AnalysisRow, _
PROJ_UID As Guid, _
PROJ_NAME As String, _
PRIORITY As Double, _
ABSOLUTE_PRIORITY As Double, _
ORIGINAL_START_DATE As DateTime, _
ORIGINAL_END_DATE As DateTime, _
START_DATE As DateTime, _
DURATION As Integer, _
SNET As DateTime, _
FNLT As DateTime, _
LOCKED As Byte _
) As AnalysisDataSet.AnalysisProjectsRow
用法
Dim instance As AnalysisDataSet.AnalysisProjectsDataTable
Dim parentAnalysisRowByFK_Analysis_AnalysisProjects As AnalysisDataSet.AnalysisRow
Dim PROJ_UID As Guid
Dim PROJ_NAME As String
Dim PRIORITY As Double
Dim ABSOLUTE_PRIORITY As Double
Dim ORIGINAL_START_DATE As DateTime
Dim ORIGINAL_END_DATE As DateTime
Dim START_DATE As DateTime
Dim DURATION As Integer
Dim SNET As DateTime
Dim FNLT As DateTime
Dim LOCKED As Byte
Dim returnValue As AnalysisDataSet.AnalysisProjectsRow
returnValue = instance.AddAnalysisProjectsRow(parentAnalysisRowByFK_Analysis_AnalysisProjects, _
PROJ_UID, PROJ_NAME, PRIORITY, ABSOLUTE_PRIORITY, _
ORIGINAL_START_DATE, ORIGINAL_END_DATE, _
START_DATE, DURATION, SNET, FNLT, _
LOCKED)
public AnalysisDataSet.AnalysisProjectsRow AddAnalysisProjectsRow(
AnalysisDataSet.AnalysisRow parentAnalysisRowByFK_Analysis_AnalysisProjects,
Guid PROJ_UID,
string PROJ_NAME,
double PRIORITY,
double ABSOLUTE_PRIORITY,
DateTime ORIGINAL_START_DATE,
DateTime ORIGINAL_END_DATE,
DateTime START_DATE,
int DURATION,
DateTime SNET,
DateTime FNLT,
byte LOCKED
)
参数
- parentAnalysisRowByFK_Analysis_AnalysisProjects
类型:WebSvcPortfolioAnalyses.AnalysisDataSet.AnalysisRow
PROJ_UID
类型:System.Guid包含项目的 GUID。
PROJ_NAME
类型:System.String包含项目名称
PRIORITY
类型:System.Double包含优先级信息。
ABSOLUTE_PRIORITY
类型:System.Double包含在项目组合分析项目的非规范化优先级。
ORIGINAL_START_DATE
类型:System.DateTime包含该项目的原始开始日期。
ORIGINAL_END_DATE
类型:System.DateTime包含该项目的原始结束日期。
START_DATE
类型:System.DateTime包含项目中,修改以适合用于分析指定的时间刻度的开始日期。
DURATION
类型:System.Int32包含项目中,分析与相同的时间尺度。
SNET
类型:System.DateTime已过时。
FNLT
类型:System.DateTime已过时。
LOCKED
类型:System.Byte指定项目处于锁定状态。
返回值
类型:WebSvcPortfolioAnalyses.AnalysisDataSet.AnalysisProjectsRow
备注
一般情况下,开发人员应使用的AddAnalysisProjectsRow重载。
另请参阅
引用
AnalysisDataSet.AnalysisProjectsDataTable 类