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
- 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.