共用方式為


CustomFields.CheckInCustomFields 方法

檢查在指定的企業自訂欄位。

命名空間:  WebSvcCustomFields
組件:  ProjectServerServices (在 ProjectServerServices.dll 中)

語法

'宣告
<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 _
)
'用途
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
)

參數

  • array
    類型:[]

    自訂欄位 Guid 陣列。

備註

程式碼範例,請參閱 < UpdateCustomFields2

Project Server 權限

權限

描述

ManageEnterpriseCustomFields

可讓使用者修改企業自訂欄位與查閱表格值的定義。通用權限。

如果使用者並沒有取出的自訂欄位, CheckInCustomFields方法也會需要管理權限,若要強制存回。

請參閱

參照

CustomFields 類別

CustomFields 成員

WebSvcCustomFields 命名空間