PropertyObject.TypeDefinitionLocked

Syntax

PropertyObject.TypeDefinitionLocked

Data Type

Boolean

Purpose

Returns True if the type definition protection option is set to something other than ProtectedObjectOption_None and the locked state of the type is currently set to locked. Returns False for all other cases.

Remarks

You can call this property on any property of the type definition, not just the root object of the type.

Note TestStand supports password-protecting type definitions to deter unauthorized users from editing the types in the sequence editor. However, any TestStand user can continue to programmatically edit a locked type by using the TestStand PropertyObject API. National Instruments does not recommend password-protecting types as the only way of protecting intellectual property.

See Also

Engine.DisplayPasswordProtectTypeDefinitionsDialog

Engine.DisplayUnlockTypeDefinitionsDialog

Password Protect Type Definitions dialog box

PropertyObject.ClearTypeDefinitionPasswordHistory

PropertyObject.GetTypeDefinitionProtection

PropertyObject.LockTypeDefinition

PropertyObject.SetTypeDefinitionProtection

PropertyObject.UnlockTypeDefinition

ProtectedObjectOptions

Thread Safety of the PropertyObject API and TestStand Variables