DataSourceAttribute.TableName Property

Gets a value indicating the table name providing data.

Namespace:  Microsoft.VisualStudio.TestTools.UnitTesting
Assembly:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)

Syntax

'Declaration
Public ReadOnly Property TableName As String
public string TableName { get; }
public:
property String^ TableName {
    String^ get ();
}
member TableName : string with get
function get TableName () : String

Property Value

Type: String
The table name providing data for the test.

Remarks

To set this attribute property, see How to: Configure a Data-Driven Unit Test.

.NET Framework Security

See Also

Reference

DataSourceAttribute Class

Microsoft.VisualStudio.TestTools.UnitTesting Namespace

Other Resources

How to: Configure a Data-Driven Unit Test