次の方法で共有


Calendar.CheckOutCalendars Method

Checks out the specified enterprise calendars to allow for the editing of 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/CheckOutCalendars", 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 CheckOutCalendars ( _
    array As Guid() _
)
'Usage
Dim instance As Calendar
Dim array As Guid()

instance.CheckOutCalendars(array)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Calendar/CheckOutCalendars", 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 CheckOutCalendars(
    Guid[] array
)

Parameters

  • array
    Type: []
    Indicates an array of unique identifiers that specify enterprise calendars.

Remarks

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

Project Server Permissions

Permission

Description

ManageEnterpriseCalendars

Allows a user to manage enterprise calendars. Global permission.

See Also

Reference

Calendar Class

Calendar Members

Calendar Web Service