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.
WebTest::AddDataSourceBinding Method (String^, String^, String^, String^)
Defines a binding relationship and adds it to the data source binding collection for the Web performance test.
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
public: virtual void AddDataSourceBinding( String^ dataSourceName, String^ tableName, String^ columnName, String^ contextName )
Parameters
- dataSourceName
-
Type:
System::String^
The name of the data source.
- tableName
-
Type:
System::String^
The name of a table in the data source.
- columnName
-
Type:
System::String^
The name of a column in the table to that is used for binding.
- contextName
-
Type:
System::String^
The variable name that represents the binding.
| Exception | Condition |
|---|---|
| WebTestException | dataSourceName does not represent a data source that is found in the internal Web performance test data source collection. |
Show: