Calendar.CheckInCalendars 方法
檢查中編輯的例外狀況的先前取出指定的企業行事曆。
命名空間: WebSvcCalendar
組件: ProjectServerServices (在 ProjectServerServices.dll 中)
語法
'宣告
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Calendar/CheckInCalendars", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Calendar/", _
ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Calendar/", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Sub CheckInCalendars ( _
array As Guid(), _
force As Boolean _
)
'用途
Dim instance As Calendar
Dim array As Guid()
Dim force As Boolean
instance.CheckInCalendars(array, force)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Calendar/CheckInCalendars", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Calendar/",
ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Calendar/",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public void CheckInCalendars(
Guid[] array,
bool force
)
參數
array
類型:[]會指出指定企業行事曆的唯一識別碼的陣列。
force
類型:System.Boolean如果True,會略過任何錯誤,checkin 程序期間發生,並完成 checkin。
備註
程式碼範例,請參閱UpdateCalendars(CalendarDataSet, Boolean, Boolean)。