Share via


CalendarDataSet.CalendarExceptionsDataTable.AddCalendarExceptionsRow Method

Adds a CalendarExceptionsRow object to the CalendarExceptionsDataTable.

Namespace:  [Calendar Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/Calendar.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/Calendar.asmx?wsdl

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

Calendar Web Service