Partager via


DataSourceAttribute Constructor

Include Protected Members
Include Inherited Members

Initializes an instance of the DataSourceAttribute class.

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 DataSourceAttribute(String, String, String) Initializes an instance of the DataSourceAttribute class using a single table.
Public method DataSourceAttribute(String, String, array<String[]) Initializes an instance of the DataSourceAttribute class.
Public method DataSourceAttribute(String, String, DataBindingAccessMethod, String) Initializes an instance of the DataSourceAttribute class using a single table and the defined access method.
Public method DataSourceAttribute(String, String, DataBindingAccessMethod, array<String[]) Initializes an instance of the DataSourceAttribute class using an array of table names.
Public method DataSourceAttribute(String, String, String, String) Initializes an instance of the DataSourceAttribute class using a single table and the name of the data source provider.
Public method DataSourceAttribute(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.
Public method DataSourceAttribute(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.
Public method DataSourceAttribute(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.
Public method DataSourceAttribute(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.
Public method DataSourceAttribute(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.

Top

See Also

Reference

DataSourceAttribute Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace