dotConnect Universal Documentation
Devart.Data.Universal Namespace / UniDataSourceEnumerator Class / GetDataSources Method
The data provider specifying the DBMS for which servers to search.

GetDataSources Method (UniDataSourceEnumerator)
Retrieves a DataTable containing information about all known servers for the provider specified.
Syntax
'Declaration
 
Public Shared Function GetDataSources( _
   ByVal providerName As String _
) As DataTable
 

Parameters

providerName
The data provider specifying the DBMS for which servers to search.

Return Value

DataTable containing information about all known servers for the provider specified.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also