Partager via


DataSourceElement.DataTableName Property

Gets or sets the table 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("dataTableName", IsRequired := True)> _
Public Property DataTableName As String
[ConfigurationPropertyAttribute("dataTableName", IsRequired = true)]
public string DataTableName { get; set; }
[ConfigurationPropertyAttribute(L"dataTableName", IsRequired = true)]
public:
property String^ DataTableName {
    String^ get ();
    void set (String^ value);
}
[<ConfigurationPropertyAttribute("dataTableName", IsRequired = true)>]
member DataTableName : string with get, set
function get DataTableName () : String 
function set DataTableName (value : String)

Property Value

Type: String
A table name.

.NET Framework Security

See Also

Reference

DataSourceElement Class

Microsoft.VisualStudio.TestTools.UnitTesting Namespace