Export (0) Print
Expand All

BdcQueryConnection class

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.

System.Object
  Microsoft.Office.InfoPath.DataConnection
    Microsoft.Office.InfoPath.BdcQueryConnection

Namespace:  Microsoft.Office.InfoPath
Assembly:  Microsoft.Office.InfoPath (in Microsoft.Office.InfoPath.dll)

public abstract class BdcQueryConnection : DataConnection

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 BdcQueryConnection 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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft