ResourceDataSet.CalendarExceptionsDataTable.AddCalendarExceptionsRow Method
Adds a CalendarExceptionsRow object to the CalendarExceptionsDataTable.
Namespace: [Resource Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/Resource.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/Resource.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: [Resource 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, which 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