IVsDataConnectionDialog.AddSources Method

Definition

Overloads

AddSources(DataConnectionDialogFilterCallback)

Enumerates all registered data sources and their associated data providers, and conditionally adds source/provider combinations to the Choose/Change Data Source dialog box, depending on logic in the supplied callback.

AddSources(Guid)

Enumerates through all registered data sources and associated data providers, and adds those that have a matching provider technology.

AddSources(DataConnectionDialogFilterCallback)

Enumerates all registered data sources and their associated data providers, and conditionally adds source/provider combinations to the Choose/Change Data Source dialog box, depending on logic in the supplied callback.

public:
 void AddSources(Microsoft::VisualStudio::Data::Services::DataConnectionDialogFilterCallback ^ callback);
public void AddSources (Microsoft.VisualStudio.Data.Services.DataConnectionDialogFilterCallback callback);
abstract member AddSources : Microsoft.VisualStudio.Data.Services.DataConnectionDialogFilterCallback -> unit
Public Sub AddSources (callback As DataConnectionDialogFilterCallback)

Parameters

callback
DataConnectionDialogFilterCallback

A delegate called for each data source/provider combination to determine whether the combination should be added.

Applies to

AddSources(Guid)

Enumerates through all registered data sources and associated data providers, and adds those that have a matching provider technology.

public:
 void AddSources(Guid providerTechnology);
public void AddSources (Guid providerTechnology);
abstract member AddSources : Guid -> unit
Public Sub AddSources (providerTechnology As Guid)

Parameters

providerTechnology
Guid

A GUID specifying a data provider technology.

Applies to