Partager via


DataSource.SetConnection Method

Include Protected Members
Include Inherited Members

Sets the provider and connection string for the data source.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method SetConnection(String, String) Sets the provider and connection string for the data source.
Public method SetConnection(String, String, String) Sets the provider and connection string and enables a different string that you can use as a display value.

Top

See Also

Reference

DataSource Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace