Information
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^)

 

Sets the provider and connection string for the data source.

Namespace:   Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

public:
void SetConnection(
	String^ provider,
	String^ connection
)

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.

Return to top
Show: