Share via


ResourceAssignmentDataSet.ResourceAssignmentCustomFieldsDataTable.AddResourceAssignmentCustomFieldsRow Method (Guid, Guid, Guid, Guid, Int32, Byte, Boolean, String, DateTime, Guid, Int32, Decimal, Byte, Int32)

Adds a ResourceAssignmentCustomFieldsRow object to the ResourceAssignmentCustomFieldsDataTable by using separate parameters.

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

Syntax

'Declaration
Public Function AddResourceAssignmentCustomFieldsRow ( _
    CUSTOM_FIELD_UID As Guid, _
    PROJ_UID As Guid, _
    ASSN_UID As Guid, _
    MD_PROP_UID As Guid, _
    MD_PROP_ID As Integer, _
    FIELD_TYPE_ENUM As Byte, _
    FLAG_VALUE As Boolean, _
    TEXT_VALUE As String, _
    DATE_VALUE As DateTime, _
    CODE_VALUE As Guid, _
    DUR_VALUE As Integer, _
    NUM_VALUE As Decimal, _
    DUR_FMT As Byte, _
    INDICATOR_VALUE As Integer _
) As ResourceAssignmentDataSet.ResourceAssignmentCustomFieldsRow
'Usage
Dim instance As ResourceAssignmentDataSet.ResourceAssignmentCustomFieldsDataTable
Dim CUSTOM_FIELD_UID As Guid
Dim PROJ_UID As Guid
Dim ASSN_UID As Guid
Dim MD_PROP_UID As Guid
Dim MD_PROP_ID As Integer
Dim FIELD_TYPE_ENUM As Byte
Dim FLAG_VALUE As Boolean
Dim TEXT_VALUE As String
Dim DATE_VALUE As DateTime
Dim CODE_VALUE As Guid
Dim DUR_VALUE As Integer
Dim NUM_VALUE As Decimal
Dim DUR_FMT As Byte
Dim INDICATOR_VALUE As Integer
Dim returnValue As ResourceAssignmentDataSet.ResourceAssignmentCustomFieldsRow

returnValue = instance.AddResourceAssignmentCustomFieldsRow(CUSTOM_FIELD_UID, _
    PROJ_UID, ASSN_UID, MD_PROP_UID, _
    MD_PROP_ID, FIELD_TYPE_ENUM, FLAG_VALUE, _
    TEXT_VALUE, DATE_VALUE, CODE_VALUE, _
    DUR_VALUE, NUM_VALUE, DUR_FMT, INDICATOR_VALUE)
public ResourceAssignmentDataSet.ResourceAssignmentCustomFieldsRow AddResourceAssignmentCustomFieldsRow(
    Guid CUSTOM_FIELD_UID,
    Guid PROJ_UID,
    Guid ASSN_UID,
    Guid MD_PROP_UID,
    int MD_PROP_ID,
    byte FIELD_TYPE_ENUM,
    bool FLAG_VALUE,
    string TEXT_VALUE,
    DateTime DATE_VALUE,
    Guid CODE_VALUE,
    int DUR_VALUE,
    decimal NUM_VALUE,
    byte DUR_FMT,
    int INDICATOR_VALUE
)

Parameters

  • CUSTOM_FIELD_UID
    Type: System.Guid
    Contains the custom field GUID.
  • PROJ_UID
    Type: System.Guid
    Contains the project GUID.
  • ASSN_UID
    Type: System.Guid
    Contains the assignment GUID.
  • MD_PROP_UID
    Type: System.Guid
    Contains the custom field GUID.
  • MD_PROP_ID
    Type: System.Int32
    Contains the custom field ID.
  • FIELD_TYPE_ENUM
    Type: System.Byte
    Contains the field type enum.
  • CODE_VALUE
    Type: System.Guid
    Contains the code value.
  • DUR_FMT
    Type: System.Byte
    Contains the display format.
  • INDICATOR_VALUE
    Type: System.Int32
    Specifies the custom field value if the field_type_enumproperty is set to type indicator.

Return Value

Type: [Resource Web service].ResourceAssignmentDataSet.ResourceAssignmentCustomFieldsRow

Remarks

In general, developers should use the AddResourceAssignmentCustomFieldsRow.

See Also

Reference

ResourceAssignmentDataSet.ResourceAssignmentCustomFieldsDataTable Class

ResourceAssignmentDataSet.ResourceAssignmentCustomFieldsDataTable Members

AddResourceAssignmentCustomFieldsRow Overload

Resource Web Service