Condividi tramite


CustomFieldDataSet.CustomFieldsRow.MD_PROP_MAX_VALUES Property

Specifies whether the custom field has a single value or uses a multivalue lookup table.

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
Public Property MD_PROP_MAX_VALUES As Integer
    Get
    Set
'Usage
Dim instance As CustomFieldDataSet.CustomFieldsRow
Dim value As Integer

value = instance.MD_PROP_MAX_VALUES

instance.MD_PROP_MAX_VALUES = value
public int MD_PROP_MAX_VALUES { get; set; }

Property Value

Type: System.Int32

Remarks

Set MD_PROP_MAX_VALUES with the Microsoft.Office.Project.Server.Library.CustomField.AcceptableMaxValues enumeration. Single-value custom fields are set to DEFAULT or ONE. A multivalue custom field uses a lookup table and MD_PROP_MAX_VALUES must be set to TWOHUNDREDFIFTY; that is, a multivalue custom field can have a maximum of 250 values in a lookup table.

See Also

Reference

CustomFieldDataSet.CustomFieldsRow Class

CustomFieldDataSet.CustomFieldsRow Members

CustomFields Web Service