IVsDataConnectionDialog.SaveProviderSelections 方法

保存有关默认情况下要DDEX提供程序的信息为每个数据源中选择。

命名空间:  Microsoft.VisualStudio.Data.Services
程序集:  Microsoft.VisualStudio.Data.Services(在 Microsoft.VisualStudio.Data.Services.dll 中)

语法

声明
Sub SaveProviderSelections
void SaveProviderSelections()
void SaveProviderSelections()
abstract SaveProviderSelections : unit -> unit 
function SaveProviderSelections()

备注

选择数据源 对话框显示时,它提供数据源列表,并在下拉列表中每个数据源的可能DDEX提供程序。此方法保持为每个数据源选择的当前DDEX提供程序。使用 LoadProviderSelections 方法,可以在以后恢复 添加连接 对话框的后续实例的此信息。

.NET Framework 安全性

请参见

参考

IVsDataConnectionDialog 接口

Microsoft.VisualStudio.Data.Services 命名空间