Export (0) Print
Expand All

DataSourceAttribute.ConnectionString Property

Gets a value representing the connection string for the data source.

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

public string ConnectionString { get; }

Property Value

Type: String
The connection string used to access the data source.

To set this attribute property, see How to: Configure a Data-Driven Unit Test.

Show:
© 2015 Microsoft