DataSource Class
Defines a data source for a Web performance test.
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
| Name | Description | |
|---|---|---|
![]() | DataSource() | Initializes a new instance of the DataSource class. |
| Name | Description | |
|---|---|---|
![]() | Connection | 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. |
![]() | Name | Gets or sets the name for the data source that uniquely identifies the data source from other data sources in the Web performance test. |
![]() | Provider | Gets the provider-invariant name for this data source. Example: System.Data.OleDb. |
![]() | Tables | A DataSourceTableCollection object that contains a DataSourceTable object for each table in the data source that can be used by the Web performance test. |
| Name | Description | |
|---|---|---|
![]() | Clone() | Creates a new instance of the data source. |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | SetConnection(String^, String^) | Sets the provider and connection string for the data source. |
![]() | SetConnection(String^, String^, String^) | Sets the provider and connection string and enables a different string that you can use as a display value. |
![]() | ToString() | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | CsvProvider | Specifies a .csv file as a data source for a Web performance test. |
![]() ![]() | XmlProvider | Specifies an XML data source for a Web performance test. |
When no data source is specified, System.Data.OleDb is used as the default data provider.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.




