Share 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
'Usage
Dim instance As DataSourceElement 
Dim value As String 

value = instance.DataTableName

instance.DataTableName = value
[ConfigurationPropertyAttribute("dataTableName", IsRequired = true)]
public string DataTableName { get; set; }
[ConfigurationPropertyAttribute(L"dataTableName", IsRequired = true)]
public:
property String^ DataTableName {
    String^ get ();
    void set (String^ value);
}
public function get DataTableName () : String 
public function set DataTableName (value : String)

Property Value

Type: System.String
A table name.

.NET Framework Security

See Also

Reference

DataSourceElement Class

DataSourceElement Members

Microsoft.VisualStudio.TestTools.UnitTesting Namespace