Loads information about which data source is currently selected.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'宣言
Public MustOverride Sub LoadSourceSelection
'使用
Dim instance As DataConnectionDialog
instance.LoadSourceSelection()
public abstract void LoadSourceSelection()
public:
virtual void LoadSourceSelection() abstract
public abstract function LoadSourceSelection()
Remarks
When the Data Connection dialog box is shown, it either shows the Data Source dialog box if no data source is selected, or goes straight to the Data Connection dialog box with the selected data source. This method loads the data source that was last saved using SaveSourceSelection on a previous instance of the data connection dialog.
Permissions
- 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.