CalendarExceptionCollection.Add method
Adds a calendar exception to the collection of calendar exceptions.
Namespace: Microsoft.ProjectServer.Client
Assembly: Microsoft.ProjectServer.Client (in Microsoft.ProjectServer.Client.dll)
Syntax
'Declaration
<RemoteAttribute> _
Public Function Add ( _
parameters As CalendarExceptionCreationInformation _
) As CalendarException
'Usage
Dim instance As CalendarExceptionCollection
Dim parameters As CalendarExceptionCreationInformation
Dim returnValue As CalendarException
returnValue = instance.Add(parameters)
[RemoteAttribute]
public CalendarException Add(
CalendarExceptionCreationInformation parameters
)
Parameters
parameters
Type: Microsoft.ProjectServer.Client.CalendarExceptionCreationInformationAn object that contains information, for example start and finish times and dates, about a new calendar exception.
Return value
Type: Microsoft.ProjectServer.Client.CalendarException
A calendar exception.
See also
Reference
CalendarExceptionCollection class