Share via


DataSource.Connection Property

Gets the connection string that is used to connect to the data source. The format for the connection string is the same as for the ConnectionString property of the System.Data.OleDbConnection class.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntax

'Declaration
Public ReadOnly Property Connection As String
public string Connection { get; }
public:
property String^ Connection {
    String^ get ();
}
member Connection : string with get
function get Connection () : String

Property Value

Type: String
The connection string that is used to connect to the data source.

.NET Framework Security

See Also

Reference

DataSource Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace