DataConnectionDialog.SaveSourceSelection Method
Saves information about which data source is currently selected.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Public MustOverride Sub SaveSourceSelection
public abstract void SaveSourceSelection()
public:
virtual void SaveSourceSelection() abstract
abstract SaveSourceSelection : unit -> unit
public abstract function SaveSourceSelection()
Remarks
When the Data Connection dialog box is showing, it either shows the Data Source dialog if no data source is selected, or goes straight to the Data Connection dialog box with the selected data source. This method saves the data source that is currently selected and this information can be restored later in a subsequent instance of the data connection dialog using LoadSourceSelection.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.