Search

Method addCustomFieldDef(String name, String moType, VcPrivilegePolicyDef fieldDefPolicy, VcPrivilegePolicyDef fieldPolicy)

Creates a new custom field. If the moType is specified, the field will only be available for that type of managed object.

Returns

VcCustomFieldDef

Arguments

Name Type Description
name String The name of the field.
moType String The managed object type to which this field will apply
fieldDefPolicy VcPrivilegePolicyDef Privilege policy to apply to FieldDef being created
fieldPolicy VcPrivilegePolicyDef Privilege policy to apply to instances of field