DataProtectionPermission.Flags Property   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the data and memory protection flags.
public:
 property System::Security::Permissions::DataProtectionPermissionFlags Flags { System::Security::Permissions::DataProtectionPermissionFlags get(); void set(System::Security::Permissions::DataProtectionPermissionFlags value); };public System.Security.Permissions.DataProtectionPermissionFlags Flags { get; set; }member this.Flags : System.Security.Permissions.DataProtectionPermissionFlags with get, setPublic Property Flags As DataProtectionPermissionFlagsProperty Value
A bitwise combination of the DataProtectionPermissionFlags values.
Exceptions
The specified value is not a valid combination of the DataProtectionPermissionFlags values.
Remarks
This property specifies whether the Protect and Unprotect methods of the ProtectedData and ProtectedMemory classes can be used.