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,将忽略任何错误,签入过程中出现并完成签入。
备注
示例代码,请参阅UpdateCalendars(CalendarDataSet, Boolean, Boolean)。