IVsDataConnectionDialog.LoadSourceSelection Method

Loads information about which data source is currently selected.

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

Syntax

'宣言
Sub LoadSourceSelection
'使用
Dim instance As IVsDataConnectionDialog

instance.LoadSourceSelection()
void LoadSourceSelection()
void LoadSourceSelection()
function LoadSourceSelection()

Remarks

When the Add Connection dialog box is shown, it either shows the Choose Data Source dialog box if no data source is selected, or goes straight to the Add Connection dialog box with the selected data source. This method loads the data source that was last saved by using SaveSourceSelection on a previous instance of the data connection dialog box.

Permissions

See Also

Reference

IVsDataConnectionDialog Interface

IVsDataConnectionDialog Members

Microsoft.VisualStudio.Data.Services Namespace