Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Saves 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
'Declaration
Sub SaveSourceSelection
'Usage
Dim instance As IVsDataConnectionDialog
instance.SaveSourceSelection()
void SaveSourceSelection()
void SaveSourceSelection()
function SaveSourceSelection()
Remarks
When the Add Connection dialog box is showing, it either shows the Choose Data Source dialog if no data source is selected, or goes straight to the Add Connection dialog box with the selected data source. This method saves the data source that is currently selected, and you can restore this information later in a subsequent instance of the data connection dialog box by 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.
See Also
Reference
IVsDataConnectionDialog Interface