Skip to main content

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

ConfigureConnectionContext.DatabaseCredentialsSavingBehavior Property

Specifies whether or not to serialize database credentials along with document layouts (e.g., report or dashboards). Optionally, you can enable your end-users to select the required behavior.

Namespace: DevExpress.DataAccess.UI.Sql

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

NuGet Package: DevExpress.DataAccess.UI

#Declaration

public SensitiveInfoSavingBehavior DatabaseCredentialsSavingBehavior { get; set; }

#Property Value

Type Description
SensitiveInfoSavingBehavior

A SensitiveInfoSavingBehavior enumeration value.

Available values:

Name Description
Always

Database credentials are always serialized along with document layouts and end-users cannot change this behavior.

Never

Database credentials are never serialized along with document layouts and end-users cannot change this behavior.

Prompt

After an existing connection is selected (or a new one is specified), the Data Source wizard prompts an end-user whether or not to save database credentials along with the document layout.

See Also