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.v20.2.UI.dll

Declaration

public SensitiveInfoSavingBehavior DatabaseCredentialsSavingBehavior { get; set; }
Public Property DatabaseCredentialsSavingBehavior As SensitiveInfoSavingBehavior

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