ScheduleDataSet.ScheduleDataTable.AddScheduleRow 方法 (Guid, Guid, String, DateTime, DateTime, Int32)
通过使用指定的参数向ScheduleDataTable添加新的ScheduleRow 。
命名空间: WebSvcStatusing
程序集: ProjectServerServices(位于 ProjectServerServices.dll 中)
语法
声明
Public Function AddScheduleRow ( _
PrimaryID As Guid, _
SecondaryID As Guid, _
Title As String, _
Start As DateTime, _
Finish As DateTime, _
Category As Integer _
) As ScheduleDataSet.ScheduleRow
用法
Dim instance As ScheduleDataSet.ScheduleDataTable
Dim PrimaryID As Guid
Dim SecondaryID As Guid
Dim Title As String
Dim Start As DateTime
Dim Finish As DateTime
Dim Category As Integer
Dim returnValue As ScheduleDataSet.ScheduleRow
returnValue = instance.AddScheduleRow(PrimaryID, _
SecondaryID, Title, Start, Finish, _
Category)
public ScheduleDataSet.ScheduleRow AddScheduleRow(
Guid PrimaryID,
Guid SecondaryID,
string Title,
DateTime Start,
DateTime Finish,
int Category
)
参数
PrimaryID
类型:System.Guid主ScheduleRow的 GUID id。
SecondaryID
类型:System.Guid辅助ScheduleRow的 GUID id。
Title
类型:System.StringScheduleRow的标题。
Start
类型:System.DateTime开始日期。
Finish
类型:System.DateTime完成日期。
Category
类型:System.Int32行项的类型。
返回值
类型:WebSvcStatusing.ScheduleDataSet.ScheduleRow
另请参阅
引用
ScheduleDataSet.ScheduleDataTable 类