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
'Usage
Dim instance As TestConfigurationSection
Dim value As DataSourceElementCollection
value = instance.DataSources
[ConfigurationPropertyAttribute("dataSources")]
public DataSourceElementCollection DataSources { get; }
[ConfigurationPropertyAttribute(L"dataSources")]
public:
property DataSourceElementCollection^ DataSources {
DataSourceElementCollection^ get ();
}
public function get DataSources () : DataSourceElementCollection
Property Value
Type: Microsoft.VisualStudio.TestTools.UnitTesting.DataSourceElementCollection
A DataSourceElementCollection.
.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
TestConfigurationSection Members
Microsoft.VisualStudio.TestTools.UnitTesting Namespace
Other Resources
Walkthrough: Using a Configuration File to Define a Data Source