C# | Visual Basic | Visual C++ |
public int Security { get; set; }
Public Property Security As Integer Get Set
public: property int Security { int get (); void set (int value); }
The Security summary information property conveys whether the package should be opened as read-only. The database editing tool should not modify a read-only enforced database and should issue a warning at attempts to modify a read-only recommended database. The following values of this property are applicable to Windows Installer files:
- 0 - no restriction
- 2 - read only recommended
- 4 - read only enforced
This property should be set to read-only recommended (2) for an installation database and to read-only enforced (4) for a transform or patch.
Win32 MSI APIs: MsiSummaryInfoGetProperty, MsiSummaryInfoSetProperty
Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.9.1006.0)