Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Enumerates through all registered data sources and associated data providers, and adds those that have a matching provider technology.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Public MustOverride Sub AddSources ( _
providerTechnology As Guid _
)
public abstract void AddSources(
Guid providerTechnology
)
public:
virtual void AddSources(
Guid providerTechnology
) abstract
abstract AddSources :
providerTechnology:Guid -> unit
public abstract 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 in cases where a caller only knows how to work with 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
- 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.