Partager via


DataSourceElement.DataAccessMethod Property

Gets or sets the data source access method element in the app.config file.

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

Syntax

'Declaration
<ConfigurationPropertyAttribute("dataAccessMethod", DefaultValue := "")> _
Public Property DataAccessMethod As String
[ConfigurationPropertyAttribute("dataAccessMethod", DefaultValue = "")]
public string DataAccessMethod { get; set; }
[ConfigurationPropertyAttribute(L"dataAccessMethod", DefaultValue = L"")]
public:
property String^ DataAccessMethod {
    String^ get ();
    void set (String^ value);
}
[<ConfigurationPropertyAttribute("dataAccessMethod", DefaultValue = "")>]
member DataAccessMethod : string with get, set
function get DataAccessMethod () : String 
function set DataAccessMethod (value : String)

Property Value

Type: String
The data source access method.

.NET Framework Security

See Also

Reference

DataSourceElement Class

Microsoft.VisualStudio.TestTools.UnitTesting Namespace