Condividi tramite


DataConnectionDialog.AddSources Method

Definition

Overloads

AddSources(DataConnectionDialogFilterCallback)

Enumerates all registered data sources and their associated data providers, and conditionally adds source/provider combinations to the Data Connection dialog box based 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 Data Connection dialog box based on logic in the supplied callback.

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

Parameters

filterer
DataConnectionDialogFilterCallback

A delegate called for each data source/provider combination to determine if 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:
 abstract void AddSources(Guid providerTechnology);
public abstract void AddSources (Guid providerTechnology);
abstract member AddSources : Guid -> unit
Public MustOverride Sub AddSources (providerTechnology As Guid)

Parameters

providerTechnology
Guid

A guid specifying a data provider technology.

Applies to