Share via


DataConnectionDialog.SaveSelection Property

Retrieves or sets a value indicating whether the caller of the dialog box should persist the currently selected data source and DDEX provider combination.

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'Declaration
Public MustOverride Property SaveSelection As Boolean
public abstract bool SaveSelection { get; set; }
public:
virtual property bool SaveSelection {
    bool get () abstract;
    void set (bool value) abstract;
}
abstract SaveSelection : bool with get, set
abstract function get SaveSelection () : boolean 
abstract function set SaveSelection (value : boolean)

Property Value

Type: System.Boolean
Returns true if the dialog box should persist the currently selected data source and DDEX provider combination; otherwise returns false.

Remarks

This value reflects the state of the Always Use this Selection checkbox on the choose data source dialog.

.NET Framework Security

See Also

Reference

DataConnectionDialog Class

Microsoft.VisualStudio.Data Namespace