次の方法で共有


CustomFields.CheckInCustomFields Method

Checks in the specified enterprise custom fields.

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

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/CustomFields/CheckInCustomFields", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/CustomFields/",  _
    ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/CustomFields/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Sub CheckInCustomFields ( _
    array As Guid(), _
    force As Boolean _
)
'Usage
Dim instance As CustomFields
Dim array As Guid()
Dim force As Boolean

instance.CheckInCustomFields(array, force)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/CustomFields/CheckInCustomFields", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/CustomFields/", 
    ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/CustomFields/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public void CheckInCustomFields(
    Guid[] array,
    bool force
)

Parameters

  • array
    Type: []
    An array of custom field GUIDs.

Remarks

For a code sample, see UpdateCustomFields2.

Project Server Permissions

Permission

Description

ManageEnterpriseCustomFields

Allows a user to modify the definitions of enterprise custom fields and lookup table values. Global permission.

If the user did not check out the custom fields, the CheckInCustomFields method also requires administrative permissions to force check in.

See Also

Reference

CustomFields Class

CustomFields Members

CustomFields Web Service