Share via


DataSourceManager.GetDataSources Method

Retrieves an array of all the registered data sources.

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

Syntax

'Declaration
Public Function GetDataSources As DataSource()
public DataSource[] GetDataSources()
public:
array<DataSource^>^ GetDataSources()
member GetDataSources : unit -> DataSource[] 
public function GetDataSources() : DataSource[]

Return Value

Type: array<Microsoft.VisualStudio.Data.DataSource[]
Returns an array of data sources.

.NET Framework Security

See Also

Reference

DataSourceManager Class

Microsoft.VisualStudio.Data Namespace