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, String^)
Initializes an instance of the DataSourceAttribute class using a single table, the defined access method, and the name of the data source provider.
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
public:
DataSourceAttribute(
String^ dataSourceName,
String^ providerName,
String^ connectionString,
DataBindingAccessMethod accessMethod,
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.
- tableName
-
Type:
System::String^
The table name within the data source that contain information to be accessed.
Show: