Share via


TestConfigurationSection.DataSources Property

Gets a DataSourceElementCollection that contains data source configuration information.

Namespace:  Microsoft.VisualStudio.TestTools.UnitTesting
Assembly:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)

Syntax

'Declaration
<ConfigurationPropertyAttribute("dataSources")> _
Public ReadOnly Property DataSources As DataSourceElementCollection
[ConfigurationPropertyAttribute("dataSources")]
public DataSourceElementCollection DataSources { get; }
[ConfigurationPropertyAttribute(L"dataSources")]
public:
property DataSourceElementCollection^ DataSources {
    DataSourceElementCollection^ get ();
}
[<ConfigurationPropertyAttribute("dataSources")>]
member DataSources : DataSourceElementCollection
function get DataSources () : DataSourceElementCollection

Property Value

Type: Microsoft.VisualStudio.TestTools.UnitTesting.DataSourceElementCollection
A DataSourceElementCollection object.

.NET Framework Security

See Also

Reference

TestConfigurationSection Class

Microsoft.VisualStudio.TestTools.UnitTesting Namespace

Other Resources

Walkthrough: Using a Configuration File to Define a Data Source