次の方法で共有


CustomFields.UpdateCustomFields メソッド

作成、変更、またはエンタープライズ ユーザー設定フィールドを削除します。

名前空間:  WebSvcCustomFields
アセンブリ:  ProjectServerServices (ProjectServerServices.dll 内)

構文

'宣言
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/CustomFields/UpdateCustomFields", 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 UpdateCustomFields ( _
    cfds As CustomFieldDataSet, _
    validateOnly As Boolean, _
    autoCheckIn As Boolean _
)
'使用
Dim instance As CustomFields
Dim cfds As CustomFieldDataSet
Dim validateOnly As Boolean
Dim autoCheckIn As Boolean

instance.UpdateCustomFields(cfds, validateOnly, _
    autoCheckIn)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/CustomFields/UpdateCustomFields", 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 UpdateCustomFields(
    CustomFieldDataSet cfds,
    bool validateOnly,
    bool autoCheckIn
)

パラメーター

  • validateOnly
    型: System.Boolean

    場合はtrue、 CustomFieldDataSetのみを検証します。

  • autoCheckIn
    型: System.Boolean

    場合はtrue、それらが更新された後、ユーザー設定フィールドをチェックインします。

注釈

UpdateCustomFieldsはCustomFieldDataSetの新しいユーザー設定フィールドが含まれています、既存のユーザー設定フィールドを変更して、 CustomFieldDataSetに含まれていないカスタム フィールドを削除する場合、ユーザー設定フィールドを作成します。

注意

UpdateCustomFieldsメソッドとUpdateCustomFields2メソッドだけでなく、 Project Web App、すべてのタイプのフラグは、エンタープライズ プロジェクト ユーザー設定フィールドを作成することを許可し、ワークフローを制御するユーザー設定フィールドを設定します。ただし、フラグ ユーザー設定フィールド Project Server ワークフローは制御できません。ワークフロー コントロールのフラグの種類のプロジェクトのユーザー設定フィールドを設定しないでください。

ヒント

UpdateCustomFieldsメソッドは、Project Server を実行しているコンピューターのロケール設定は無視されます。UpdateCustomFields2(CustomFieldDataSet, Boolean, Boolean)メソッドは、ユーザー設定フィールドとグラフィック インジケーターを計算する数式のロケールに依存する値を使用できます。

プロジェクト サーバーのアクセス許可

権限

説明

ManageEnterpriseCustomFields

エンタープライズ ユーザー設定フィールドと参照テーブル値の定義を変更することができます。グローバル アクセス権。

場合は、ユーザーのチェック アウトを行わず、ユーザー設定フィールド、 UpdateCustomFieldsに管理者のアクセス許可を強制的にチェックインする必要があります。

関連項目

参照先

CustomFields クラス

CustomFields メンバー

WebSvcCustomFields 名前空間

UpdateCustomFields2(CustomFieldDataSet, Boolean, Boolean)