Export (0) Print
Expand All

DataSourceAttribute Constructor (String)

Initializes a new instance of the DataSourceAttribute class. This instance will be initialized with a data provider and connection string associated with the setting name.

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

public DataSourceAttribute(
	string dataSourceSettingName
)

Parameters

dataSourceSettingName
Type: System.String

The name of a data source found in the <microsoft.visualstudio.qualitytools> section in the app.config file.

Show:
© 2014 Microsoft