共用方式為


CalendarCollection.Remove 方法

從行事曆的集合中移除指定的行事曆。

命名空間:  Microsoft.ProjectServer.Client
組件:  Microsoft.ProjectServer.Client (在 Microsoft.ProjectServer.Client.dll 中)

語法

'宣告
<RemoteAttribute> _
Public Function Remove ( _
    calendar As Calendar _
) As ClientResult(Of Boolean)
'用途
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
)

參數

傳回值

類型:Microsoft.SharePoint.Client.ClientResult<Boolean>
True如果行事曆已移除 ;否則,請False。

請參閱

參照

CalendarCollection 類別

CalendarCollection 成員

Microsoft.ProjectServer.Client 命名空間