Compartilhar via


IVsDataConnectionDialog.AddSources Method (Guid)

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

Namespace:  Microsoft.VisualStudio.Data.Services
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Syntax

'Declaration
Sub AddSources ( _
    providerTechnology As Guid _
)
void AddSources(
    Guid providerTechnology
)
void AddSources(
    Guid providerTechnology
)
abstract AddSources : 
        providerTechnology:Guid -> unit
function AddSources(
    providerTechnology : Guid
)

Parameters

  • providerTechnology
    Type: System.Guid

    A GUID specifying a data provider technology.

Remarks

This method of adding data sources and providers is useful when a caller can work with only a particular provider technology, such as ADO.NET, and does not want a user to add a connection to any other kind of provider.

.NET Framework Security

See Also

Reference

IVsDataConnectionDialog Interface

AddSources Overload

Microsoft.VisualStudio.Data.Services Namespace