The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DataSourceAttribute.DataAccessMethod Property


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)

public DataAccessMethod DataAccessMethod { get; }

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.

To set this attribute property, see .b8c785ec-f678-4513-9b93-d22da467c698

Return to top