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

 

Initializes an instance of the DataSourceAttribute class.

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

NameDescription
System_CAPS_pubmethodDataSourceAttribute(String^, String^, DataBindingAccessMethod, String^)

Initializes an instance of the DataSourceAttribute class using a single table and the defined access method.

System_CAPS_pubmethodDataSourceAttribute(String^, String^, DataBindingAccessMethod, array<String^>^)

Initializes an instance of the DataSourceAttribute class using an array of table names.

System_CAPS_pubmethodDataSourceAttribute(String^, String^, String^)

Initializes an instance of the DataSourceAttribute class using a single table.

System_CAPS_pubmethodDataSourceAttribute(String^, String^, String^, DataBindingAccessMethod, DataBindingSelectColumns, String^)

Initializes an instance of the DataSourceAttribute class using an array of table names, the defined access method, name of the data source, name of the provider, connection string, and the column filters.

System_CAPS_pubmethodDataSourceAttribute(String^, String^, String^, DataBindingAccessMethod, DataBindingSelectColumns, array<String^>^)

Initializes an instance of the DataSourceAttribute class using an array of table names, the defined access method, name of the data source, name of the provider, connection string, and the column filters.

System_CAPS_pubmethodDataSourceAttribute(String^, String^, String^, DataBindingAccessMethod, String^)

Initializes an instance of the DataSourceAttribute class using a single table, the defined access method, and the name of the data source provider.

System_CAPS_pubmethodDataSourceAttribute(String^, String^, String^, DataBindingAccessMethod, array<String^>^)

Initializes an instance of the DataSourceAttribute class using an array of table names, the defined access method, and the name of the data source provider.

System_CAPS_pubmethodDataSourceAttribute(String^, String^, String^, String^)

Initializes an instance of the DataSourceAttribute class using a single table and the name of the data source provider.

System_CAPS_pubmethodDataSourceAttribute(String^, String^, String^, array<String^>^)

Initializes an instance of the DataSourceAttribute class using an array of table names and the name of the data source provider.

System_CAPS_pubmethodDataSourceAttribute(String^, String^, array<String^>^)

Initializes an instance of the DataSourceAttribute class.

Return to top
Show: