Search
Plugins > vCenter Server 5.5.3 > VcTask > setCustomValue

Method setCustomValue(String key, String value)

Assigns a value to a custom field. The setCustomValue method requires whichever updatePrivilege is defined as one of the VcCustomFieldDef for the CustomFieldDef whose value is being changed.

Returns

void

Arguments

Name Type Description
key String The name of the field whose value is to be updated.
value String Value to be assigned to the custom field.