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
)
參數
calendar
類型:Microsoft.ProjectServer.Client.Calendar要移除之Calendar物件。
傳回值
類型:Microsoft.SharePoint.Client.ClientResult<Boolean>
True如果行事曆已移除 ;否則,請False。