Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ConnectionPropertiesPage.Encrypt Property

Specifies whether all communication between the server and the client is encrypted.

Namespace: DevExpress.Xpf.DataAccess.DataSourceWizard

Assembly: DevExpress.Xpf.DataAccess.v24.2.dll

NuGet Package: DevExpress.Wpf.Reporting

#Declaration

public virtual DefaultBoolean Encrypt { get; set; }

#Property Value

Type Description
DefaultBoolean

A DefaultBoolean enumeration value that specifies whether communication between the server and the client is encrypted.

Available values:

Name Description Return Value
True

The value is true.

0

False

The value is false.

1

Default

The value is specified by a global option or a higher-level object.

2

#Remarks

This property corresponds to the “Encrypt” key within the connection string. When you set the Encrypt property to True, TLS encryption is required for all data sent between the client and server.

If the property value is Default, the connection uses the option set by the provider (Microsoft.Data.SqlClient or System.Data.SqlClient).

See Also