Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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 with get
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