M-Files API 23.11.13135.0
UpdatePropertyDefAdmin Method
VaultPropertyDefOperations Object : UpdatePropertyDefAdmin Method
The property definition object to update.

A new Last Used value for an autonumbering property (if not Null).

In scripting languages, a specific null value (e.g., Nothing in VBScript) should be used to indicate the default value.

Description
Updates the property definition. The ID property identifies the property definition to modify. If ResetLastUsedValue is not NULL, it specifies the new Last Used Value for an autonumbering property.
Syntax
Visual Basic
Public Sub UpdatePropertyDefAdmin( _
   ByVal PropertyDefAdmin As PropertyDefAdmin, _
   Optional ByVal ResetLastUsedValue As TypedValue = 0 _
) 
Parameters
PropertyDefAdmin
The property definition object to update.
ResetLastUsedValue

A new Last Used value for an autonumbering property (if not Null).

In scripting languages, a specific null value (e.g., Nothing in VBScript) should be used to indicate the default value.

Remarks

This method is available only if M-Files API is used in the server interface mode.

Note

If the update operation causes the property definition to result in new automatic access control list components and these components allow users to deactivate them, the components are added on objects in inactive state.

Use UpdatePropertyDefWithAutomaticPermissions to modify this default behavior.

See Also

VaultPropertyDefOperations Object  | VaultPropertyDefOperations Members