Represents a data connection for retrieving data from an external list on a server that runs Microsoft SharePoint Foundation 2010 or Microsoft SharePoint Server 2010.
Assembly: Microsoft.Office.InfoPath (in Microsoft.Office.InfoPath.dll)
An external list is an external data source that is registered in the Business Data Connectivity service (BDC) on a server that runs SharePoint Foundation 2010 or SharePoint Server 2010. An external list is based on an external content type that specifies how to connect to and work with the data from an external business entity, such as a SQL Server database or Web service. After you create an external list, you can generally use its data like any other SharePoint list. For more information about how to create external content types and external lists, see Building Solutions Using the Presentation Features of Business Connectivity Services
The class provides properties that can be used to get information about the data connection. It also provides the inherited Execute() method that can be used to execute the query operation that was defined declaratively when the data connection was created.