CalendarDataSet.CalendarExceptionsDataTable.AddCalendarExceptionsRow Method

Adds a CalendarExceptionsRow object to the CalendarExceptionsDataTable.

Namespace:  WebSvcCalendar
Assembly:  ProjectServerWebServices (in ProjectServerWebServices.dll)

Syntax

'Declaration
Public Sub AddCalendarExceptionsRow ( _
    row As CalendarDataSet.CalendarExceptionsRow _
)
'Usage
Dim instance As CalendarDataSet.CalendarExceptionsDataTable
Dim row As CalendarDataSet.CalendarExceptionsRow

instance.AddCalendarExceptionsRow(row)
public void AddCalendarExceptionsRow(
    CalendarDataSet.CalendarExceptionsRow row
)

Parameters

Remarks

The AddCalendarExceptionsRow method signature is overloaded as follows:

  • Third-party developers should use the overload that has a single CalendarDataSet.CalendarExceptionsRow parameter, for example, AddCalendarExceptionsRow(CalendarDataSet.CalendarExceptionsRow row).

  • The Object Explorer in Microsoft Visual Studio shows another overload which uses individual parameters for all fields in CalendarExceptionsRow. The overload is used internally.

    public CalendarExceptionsRow AddCalendarExceptionsRow( 
        CalendarsRow parentCalendarsRowByCalendarCalendarExceptions, 
        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

CalendarDataSet.CalendarExceptionsDataTable Class

CalendarDataSet.CalendarExceptionsDataTable Members

WebSvcCalendar Namespace