次の方法で共有


Calendar.CheckInCalendars Method

Checks in the specified enterprise calendars that were previously checked out for editing exceptions.

Namespace:  [Calendar Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/Calendar.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/Calendar.asmx?wsdl

Syntax

'Declaration
<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 _
)
'Usage
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
)

Parameters

  • array
    Type: []
    Indicates an array of unique identifiers that specify enterprise calendars.
  • force
    Type: System.Boolean
    If True, ignores any errors that occur during the checkin process and completes the checkin.

Remarks

For sample code, see UpdateCalendars(CalendarDataSet, Boolean, Boolean).

See Also

Reference

Calendar Class

Calendar Members

Calendar Web Service