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
'Déclaration
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
- 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.