DataSourceAttribute Constructor

DataSourceAttribute Constructor

 

Initializes a new instance of the DataSourceAttribute class.

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

NameDescription
System_CAPS_pubmethodDataSourceAttribute(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.

System_CAPS_pubmethodDataSourceAttribute(String, String)

Initializes a new instance of the DataSourceAttribute class. This instance will be initialized with a connection string and table name.

System_CAPS_pubmethodDataSourceAttribute(String, String, String, DataAccessMethod)

Initializes a new instance of the DataSourceAttribute class. This instance will be initialized with a data provider, connection string, data table and data access method to access the data source.

Return to top
Show:
© 2016 Microsoft