Udostępnij za pośrednictwem


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

value = instance.TableName
public string TableName { get; }
public:
property String^ TableName {
    String^ get ();
}
public function get TableName () : String

Property Value

Type: System.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

DataSourceAttribute Members

Microsoft.VisualStudio.TestTools.UnitTesting Namespace