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.GuidThe GUID of the ScheduleRow primary ID.
SecondaryID
Type: System.GuidThe GUID of the ScheduleRow secondary ID.
Title
Type: System.StringA title for the ScheduleRow.
Start
Type: System.DateTimeA start date.
Finish
Type: System.DateTimeA finish date.
Category
Type: System.Int32The type of a row item.
Return value
Type: WebSvcStatusing.ScheduleDataSet.ScheduleRow
See also
Reference
ScheduleDataSet.ScheduleDataTable class