DataSourceElement.Name Property
Gets or sets the data source name setting element in the app.config file.
Namespace: Microsoft.VisualStudio.TestTools.UnitTesting
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
Syntax
'Declaration
<ConfigurationPropertyAttribute("name", IsKey := True, IsRequired := True)> _
Public Property Name As String
[ConfigurationPropertyAttribute("name", IsKey = true, IsRequired = true)]
public string Name { get; set; }
[ConfigurationPropertyAttribute(L"name", IsKey = true, IsRequired = true)]
public:
property String^ Name {
String^ get ();
void set (String^ value);
}
[<ConfigurationPropertyAttribute("name", IsKey = true, IsRequired = true)>]
member Name : string with get, set
function get Name () : String
function set Name (value : String)
Property Value
Type: String
A data source name.
.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.