The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
DataSourceAttribute Constructor (String^, String^, String^, DataBindingAccessMethod, DataBindingSelectColumns, String^)
Initializes an instance of the DataSourceAttribute class using an array of table names, the defined access method, name of the data source, name of the provider, connection string, and the column filters.
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
public:
DataSourceAttribute(
String^ dataSourceName,
String^ providerName,
String^ connectionString,
DataBindingAccessMethod accessMethod,
DataBindingSelectColumns selectColumns,
String^ tableName
)
Parameters
- dataSourceName
-
Type:
System::String^
The name of the data source.
- providerName
-
Type:
System::String^
The name of the data source provider.
- connectionString
-
Type:
System::String^
The connection string to access the data source.
- accessMethod
-
Type:
Microsoft.VisualStudio.TestTools.WebTesting::DataBindingAccessMethod
The mode for accessing data from the data source.
- selectColumns
-
Type:
Microsoft.VisualStudio.TestTools.WebTesting::DataBindingSelectColumns
The column filters used for selecting the data.
- tableName
-
Type:
System::String^
The table names within the data source that contain information to be accessed.
Show: