DataSourceAttribute.DataAccessMethod Property

Definition

Gets the method used to access the data source.

public Microsoft.VisualStudio.TestTools.UnitTesting.DataAccessMethod DataAccessMethod { get; }
member this.DataAccessMethod : Microsoft.VisualStudio.TestTools.UnitTesting.DataAccessMethod
Public ReadOnly Property DataAccessMethod As DataAccessMethod

Property Value

One of the DataAccessMethod values. If the DataSourceAttribute is not initialized, this will return the default value Random.

Applies to