ScheduleDataSet.ScheduleDataTable.AddScheduleRow Method (Guid, Guid, String, DateTime, DateTime, Int32)
Adds a new ScheduleRow to the ScheduleDataTable by using the specified parameters.
Namespace: [Statusing Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/Statusing.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/Statusing.asmx?wsdl
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.
- Title
Type: System.String
A title for the ScheduleRow.
- Start
Type: System.DateTime
A start date.
- Finish
Type: System.DateTime
A finish date.
- Category
Type: System.Int32
The type of a row item.
Return Value
Type: [Statusing Web service].ScheduleDataSet.ScheduleRow
See Also
Reference
ScheduleDataSet.ScheduleDataTable Class