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.

DataSourceElement::ConnectionString Property

 

Gets or sets the connection string setting element in the <connectionStrings> section in the app.config file.

Namespace:   Microsoft.VisualStudio.TestTools.UnitTesting
Assembly:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)

public:
[ConfigurationPropertyAttribute("connectionString", IsRequired = true)]
property String^ ConnectionString {
	String^ get();
	void set(String^ value);
}

Property Value

Type: System::String^

A connection string.

Return to top
Show: