Share via


DataSourceAttribute.DefaultDataAccessMethod Field

Represents the default data access method. This field is read-only.

Namespace:  Microsoft.VisualStudio.TestTools.UnitTesting
Assembly:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)

Syntax

'Declaration
Public Shared ReadOnly DefaultDataAccessMethod As DataAccessMethod
'Usage
Dim value As DataAccessMethod 

value = DataSourceAttribute.DefaultDataAccessMethod
public static readonly DataAccessMethod DefaultDataAccessMethod
public:
static initonly DataAccessMethod DefaultDataAccessMethod
public static final var DefaultDataAccessMethod : DataAccessMethod

Remarks

This field returns the Random constant as the default data access method.

.NET Framework Security

See Also

Reference

DataSourceAttribute Class

DataSourceAttribute Members

Microsoft.VisualStudio.TestTools.UnitTesting Namespace