PropertyObject.LockTypeDefinition
- Updated2024-10-09
- 1 minute(s) read
PropertyObject.LockTypeDefinition
Syntax
PropertyObject.LockTypeDefinition
Purpose
Changes the in-memory state of a password-protected type definition to locked. This method returns an error if you call it on a type that is not password-protected.
Remarks
You can call this method on any property of the type definition, not just the root object of the type.
See Also
Engine.DisplayPasswordProtectTypeDefinitionsDialog
Engine.DisplayUnlockTypeDefinitionsDialog
Password Protect Type Definitions dialog box
PropertyObject.ClearTypeDefinitionPasswordHistory
PropertyObject.GetTypeDefinitionProtection
PropertyObject.SetTypeDefinitionProtection
PropertyObject.TypeDefinitionLocked
PropertyObject.UnlockTypeDefinition
Thread Safety of the PropertyObject API and TestStand Variables