ResourceDataSet.CalendarExceptionsDataTable.AddCalendarExceptionsRow Method
Adds a CalendarExceptionsRow object to the CalendarExceptionsDataTable.
Namespace: [TimeSheet Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/TimeSheet.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/TimeSheet.asmx?wsdl
Syntax
'Declaration
Public Sub AddCalendarExceptionsRow ( _
row As ResourceDataSet.CalendarExceptionsRow _
)
'Usage
Dim instance As ResourceDataSet.CalendarExceptionsDataTable
Dim row As ResourceDataSet.CalendarExceptionsRow
instance.AddCalendarExceptionsRow(row)
public void AddCalendarExceptionsRow(
ResourceDataSet.CalendarExceptionsRow row
)
Parameters
- row
Type: [TimeSheet Web service].ResourceDataSet.CalendarExceptionsRow
The calendar exceptions row to add.
Remarks
The AddCalendarExceptionsRow method signature is overloaded as follows:
Third-party developers should use the overload that has a single ResourceDataSet.CalendarExceptionsRow parameter, for example, AddCalendarExceptionsRow(ResourceDataSet.CalendarExceptionsRow row).
The Object Explorer in Microsoft Visual Studio shows another overload that uses individual parameters for all fields in CalendarExceptionsRow. The overload is used internally.
public CalendarExceptionsRow AddCalendarExceptionsRow( ResourcesRow parentResourcesRowByResourcesCalendarExceptions, string Name, System.DateTime Start, System.DateTime Finish, int Shift1Start, int Shift1Finish, int Shift2Start, int Shift2Finish, int Shift3Start, int Shift3Finish, int Shift4Start, int Shift4Finish, int Shift5Start, int Shift5Finish, int RecurrenceType, int RecurrenceFrequency, int RecurrenceDays, int RecurrenceMonthDay, int RecurrenceMonth, int RecurrencePosition)
See Also
Reference
ResourceDataSet.CalendarExceptionsDataTable Class