Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DataSourceAttribute Constructor

Initializes a new 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.

  Name Description
Public method DataSourceAttribute(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.
Public method DataSourceAttribute(String, String) Initializes a new instance of the DataSourceAttribute class. This instance will be initialized with a connection string and table name.
Public method DataSourceAttribute(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.
Top
Show:
© 2015 Microsoft