Autodesk Vault ProfessionalVault API

UpdatePropertyDefinition Method

Autodesk.Connectivity.WebServicesPropertyService

Updates a property definition.

Required Permissions

ManagePropertyDefinition

Syntax

public PropDefInfo UpdatePropertyDefinition(
   System.long propertyDefId,
   System.string displayName,
   System.bool isBasicSearchEnabled,
   System.bool isActive,
   System.object defaultValue,
   System.string[] mappedEntityClassIds
)
Public Function UpdatePropertyDefinition( _
   ByVal propertyDefId As System.Long, _
   ByVal displayName As System.String, _
   ByVal isBasicSearchEnabled As System.Boolean, _
   ByVal isActive As System.Boolean, _
   ByVal defaultValue As System.Object, _
   ByVal mappedEntityClassIds() As System.String _
) As PropDefInfo

Parameters

NameDescription
propertyDefIdThe ID of the definition to edit
displayNameThe display name.
isBasicSearchEnabledIf true, these property values are included for basic searches. If false, the property values are not searched during a basic search.
isActiveIf true, the property definition is active.
defaultValueThe default value.
mappedEntityClassIdsA list of entity types that the property definition can be used with.

Return Value

The updated property definition with extended information.

See Also