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
'Usage
Dim instance As DataConnectionDialog 
Dim value As Boolean 

value = instance.SaveSelection

instance.SaveSelection = value
public abstract bool SaveSelection { get; set; }
public:
virtual property bool SaveSelection {
    bool get () abstract;
    void set (bool value) abstract;
}
public abstract function get SaveSelection () : boolean 
public 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

DataConnectionDialog Members

Microsoft.VisualStudio.Data Namespace