PropertyObjectFile.Unlock
- Updated2025-07-21
- 1 minute(s) read
PropertyObjectFile.Unlock
Syntax
PropertyObjectFile.Unlock( passwordString)
Purpose
Unlocks the file. The PropertyObjectFile.Protection property specifies the type of protection for the lock. Use the PropertyObjectFile.Lock method to lock the file.
Remarks
This method applies only to sequence files. Using this method on other files causes an error.
Note
TestStand supports password protecting sequence files to discourage editing and viewing within the sequence editor and user interfaces that use the TestStand User Interface (UI) Controls. The TestStand API limits access to a file protected from viewing but cannot prevent access to the file content during execution. National Instruments does not recommend using passwords as the only way of protecting intellectual property.
Parameters
passwordString As String
[In] Specifies the password for the unlock operation.