CalendarCollection.Remove method
Removes the specified calendar from the collection of calendars.
Namespace: Microsoft.ProjectServer.Client
Assembly: Microsoft.ProjectServer.Client (in Microsoft.ProjectServer.Client.dll)
Syntax
'Declaration
<RemoteAttribute> _
Public Function Remove ( _
calendar As Calendar _
) As ClientResult(Of Boolean)
'Usage
Dim instance As CalendarCollection
Dim calendar As Calendar
Dim returnValue As ClientResult(Of Boolean)
returnValue = instance.Remove(calendar)
[RemoteAttribute]
public ClientResult<bool> Remove(
Calendar calendar
)
Parameters
calendar
Type: Microsoft.ProjectServer.Client.CalendarThe Calendar object to be removed.
Return value
Type: Microsoft.SharePoint.Client.ClientResult<Boolean>
True if the calendar was removed; otherwise, False.