Requires: Base Development System
Class: Library Methods (ActiveX)
Sets the level of editing permission for a LabVIEW project library, including the password.
This method is similar to the Protection box on the General Settings page of the LabVIEW Project Library Properties dialog box.
object.SetLockState(lockState, [Interactive], [Password], [putInCache])
| Name | Type | Description | 
|---|---|---|
| lockState | VILockStateEnum | Lock state. | 
| Interactive | Boolean | Specifies whether to display a dialog box that prompts you to change the lock state. The default is FALSE. | 
| Password | String | If lockState is Password-protected, Password is the new password. If you are changing lockState from Password-protected, Password is the old password. The default is an empty string. | 
| putInCache | Boolean | If lockState is Password-protected, putinCache specifies whether to place the new password in the cache. The default is FALSE. | 
none