Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the method used to access the data source.
Namespace: Microsoft.VisualStudio.TestTools.UnitTesting
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
Syntax
'Declaration
Public ReadOnly Property DataAccessMethod As DataAccessMethod
public DataAccessMethod DataAccessMethod { get; }
public:
property DataAccessMethod DataAccessMethod {
DataAccessMethod get ();
}
member DataAccessMethod : DataAccessMethod
function get DataAccessMethod () : DataAccessMethod
Property Value
Type: Microsoft.VisualStudio.TestTools.UnitTesting.DataAccessMethod
One of the DataAccessMethod values. If the DataSourceAttribute is not initialized, this will return the default value Random.
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.
See Also
Reference
Microsoft.VisualStudio.TestTools.UnitTesting Namespace