Freigeben über


DataSourceAttribute.DataAccessMethod Property

Definition

Gets the method used to access the data source.

public:
 property Microsoft::VisualStudio::TestTools::UnitTesting::DataAccessMethod DataAccessMethod { Microsoft::VisualStudio::TestTools::UnitTesting::DataAccessMethod get(); };
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