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.
DataSource::SetConnection Method (String^, String^, String^)
Sets the provider and connection string and enables a different string that you can use as a display value.
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
public: void SetConnection( String^ provider, String^ connection, String^ connectionDisplayValue )
Parameters
- provider
-
Type:
System::String^
The Provider name for the data source.
- connection
-
Type:
System::String^
The Connection string to set for this data source.
- connectionDisplayValue
-
Type:
System::String^
The connection string value to be displayed in the editor. This value should be the same as the connection string with security value stripped out.
Show: