DataConnectionDialog.AddAllSources Method
Adds all registered data sources for display on the Data Source dialog box.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Public Sub AddAllSources
public void AddAllSources()
public:
void AddAllSources()
member AddAllSources : unit -> unit
public function AddAllSources()
Remarks
This is a convenience method that allows you to avoid manually enumerating all the data sources from the data source manager and all data providers associated with each data source.
.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.