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 with get
function get DataSources () : DataSourceElementCollection
Property Value
Type: Microsoft.VisualStudio.TestTools.UnitTesting.DataSourceElementCollection
A DataSourceElementCollection object.
.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.
See Also
Reference
TestConfigurationSection Class
Microsoft.VisualStudio.TestTools.UnitTesting Namespace
Other Resources
Walkthrough: Using a Configuration File to Define a Data Source