ScheduleDataSet.ScheduleDataTable.AddScheduleRow method (Guid, Guid, String, DateTime, DateTime, Int32)

Adds a new ScheduleRow to the ScheduleDataTable by using the specified parameters.

Namespace:  WebSvcStatusing
Assembly:  ProjectServerServices (in ProjectServerServices.dll)

Syntax

'Declaration
Public Function AddScheduleRow ( _
    PrimaryID As Guid, _
    SecondaryID As Guid, _
    Title As String, _
    Start As DateTime, _
    Finish As DateTime, _
    Category As Integer _
) As ScheduleDataSet.ScheduleRow
'Usage
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
)

Parameters

  • PrimaryID
    Type: System.Guid

    The GUID of the ScheduleRow primary ID.

  • SecondaryID
    Type: System.Guid

    The GUID of the ScheduleRow secondary ID.

Return value

Type: WebSvcStatusing.ScheduleDataSet.ScheduleRow

See also

Reference

ScheduleDataSet.ScheduleDataTable class

ScheduleDataSet.ScheduleDataTable members

AddScheduleRow overload

WebSvcStatusing namespace