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。

返回值

类型:WebSvcStatusing.ScheduleDataSet.ScheduleRow

另请参阅

引用

ScheduleDataSet.ScheduleDataTable 类

ScheduleDataSet.ScheduleDataTable 成员

AddScheduleRow 重载

WebSvcStatusing 命名空间