Setting.Encrypted Property

Indicates whether the extension setting value should be encrypted in the report server database.

Namespace:  Microsoft.ReportingServices.Interfaces
Assemblies:   Microsoft.ReportingServices.Interfaces (in Microsoft.ReportingServices.Interfaces.dll)
  Microsoft.ReportingServices.SharePoint.UI.WebParts (in Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)

Syntax

'Declaration
Public Property Encrypted As Boolean
    Get
    Set
'Usage
Dim instance As Setting
Dim value As Boolean

value = instance.Encrypted

instance.Encrypted = value
public bool Encrypted { get; set; }
public:
property bool Encrypted {
    bool get ();
    void set (bool value);
}
member Encrypted : bool with get, set
function get Encrypted () : boolean
function set Encrypted (value : boolean)

Property Value

Type: System.Boolean
A Boolean value indicating whether a value for the setting should be encrypted in the report server database.

Remarks

If a setting is marked as encrypted then the report server encrypts the data before storing it in the report server database.

Set the Encrypted property to true when the value of the setting may contain sensitive data such as a password.