AddProtection

<< Click to Display Table of Contents >>

 

AddProtection

AddProtection([Name], [Acronym], [Caption], [Order])

Adds a Protection Type object with a name informed in the Name parameter in the collection of Protection Types. If that name already exists in the collection or is omitted, it is auto-incremented. This name cannot start with the reserved character of an asterisk (*). Please check the general Name property for more information about the allowed characters on the names of objects. The Acronym parameter indicates an acronym for that Protection Type. This parameter is optional and, if omitted, configures the acronym with an empty String. The Caption parameter informs a description for a Protection Type. This parameter is optional and, if omitted, configures the description with an empty String. The Order parameter informs a viewing order for a Protection Type, used to sort Protections on lists. This parameter is optional and, if omitted, configures the viewing order with the value 1000.

This method returns a Protection Type object if successful.

Was this page useful?