M-Files API 22.6.11519.0
UpdatePropertyDefWithAutomaticPermissionsAdmin Method
VaultPropertyDefOperations Object : UpdatePropertyDefWithAutomaticPermissionsAdmin 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.

Specifies the default activity state on automatic access control list components if the update operation results in new components on existing objects.
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 UpdatePropertyDefWithAutomaticPermissionsAdmin( _
   ByVal PropertyDefAdmin As PropertyDefAdmin, _
   Optional ByVal ResetLastUsedValue As TypedValue = 0, _
   Optional ByVal AutomaticPermissionsForcedActive As Boolean = False _
) 
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.

AutomaticPermissionsForcedActive
Specifies the default activity state on automatic access control list components if the update operation results in new components on existing objects.
Remarks
This method is available only if M-Files API is used in the server interface mode.
See Also

VaultPropertyDefOperations Object  | VaultPropertyDefOperations Members