DataSourceAttribute.DataSourceSettingName Property
Gets a value indicating the setting name used to identify data source connection information stored in a configuration file.
Namespace: Microsoft.VisualStudio.TestTools.UnitTesting
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
Syntax
'Declaration
Public ReadOnly Property DataSourceSettingName As String
public string DataSourceSettingName { get; }
public:
property String^ DataSourceSettingName {
String^ get ();
}
member DataSourceSettingName : string with get
function get DataSourceSettingName () : String
Property Value
Type: String
The name of a data source found in the <microsoft.visualstudio.qualitytools> section in the app.config file.
.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
Microsoft.VisualStudio.TestTools.UnitTesting Namespace
Other Resources
Walkthrough: Using a Configuration File to Define a Data Source