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.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
- 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.