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.

DataSourceAttribute Constructor (String^, String^, array<String^>^)

 

Initializes an instance of the DataSourceAttribute class.

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

public:
DataSourceAttribute(
	String^ dataSourceName,
	String^ connectionString,
	... array<String^>^ tableNames
)

Parameters

dataSourceName
Type: System::String^

The name of the data source.

connectionString
Type: System::String^

The connection string to access the data source.

tableNames
Type: array<System::String^>^

The table names, within the data source, that contain information to be accessed.

The AccessMethod property is initialized with Sequential. All properties are set through the constructor.

Return to top
Show: