CalendarCollection.Add 方法
會將新的行事曆新增至行事曆的集合。
命名空間: Microsoft.ProjectServer.Client
組件: Microsoft.ProjectServer.Client (在 Microsoft.ProjectServer.Client.dll 中)
語法
'宣告
<RemoteAttribute> _
Public Function Add ( _
parameters As CalendarCreationInformation _
) As Calendar
'用途
Dim instance As CalendarCollection
Dim parameters As CalendarCreationInformation
Dim returnValue As Calendar
returnValue = instance.Add(parameters)
[RemoteAttribute]
public Calendar Add(
CalendarCreationInformation parameters
)
參數
parameters
類型:Microsoft.ProjectServer.Client.CalendarCreationInformation物件,其中包含的詳細資訊,例如名稱和新的行事曆相關的 GUID。
傳回值
類型:Microsoft.ProjectServer.Client.Calendar
行事曆。