Autodesk Vault ProfessionalVault API

AllowOverride Method

Autodesk.DataManagement.Client.Framework.Forms.SettingsShowRestrictionsSettings

Configues the GUI for override mode, and allows a question to be provided. Override mode is designed to let the user complete an operation that would normally be blocked by a restriction.

Syntax

public void AllowOverride(
   System.string overrideCheckboxLabel,
   System.string overrideQuestion,
   System.bool checkboxChecked
)
Public Sub AllowOverride( _
   ByVal overrideCheckboxLabel As System.String, _
   Optional ByVal overrideQuestion As System.String, _
   Optional ByVal checkboxChecked As System.Boolean _
) 

Parameters

NameDescription
overrideCheckboxLabelThe label put next to the override checkbox
overrideQuestionOptional question to be displayed below the descritpion set by SetDescription
checkboxCheckedOption paramenter that specifies if the override checkbox should start checked or unchecked

Remarks

An example would be deleting a file that still has links pointing to it. Normally this would results in a restriction blocking the delete, but the user can choose to override it when override mode is enabled.

See Also