SqlCeConnectionStringBuilder.Encrypt Property

Gets or sets a value that indicates whether or not the database is encrypted.

Namespace:  System.Data.SqlServerCe
Assembly:  System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public Property Encrypt As Boolean
    Get
    Set
'Usage
Dim instance As SqlCeConnectionStringBuilder
Dim value As Boolean

value = instance.Encrypt

instance.Encrypt = value
[BrowsableAttribute(false)]
public bool Encrypt { get; set; }
[BrowsableAttribute(false)]
public:
property bool Encrypt {
    bool get ();
    void set (bool value);
}
[<BrowsableAttribute(false)>]
member Encrypt : bool with get, set
function get Encrypt () : boolean
function set Encrypt (value : boolean)

Property Value

Type: System.Boolean
true if the database is encrypted; otherwise, false. Must be set to true to enable encryption or false for no encryption.

See Also

Reference

SqlCeConnectionStringBuilder Class

System.Data.SqlServerCe Namespace