Upravit

Sdílet prostřednictvím


SharePointListAdapterRWObject Interface

Definition

Represents a data connection for retrieving data from a SharePoint list or document library.

public interface class SharePointListAdapterRWObject : Microsoft::Office::Interop::InfoPath::SharePointListAdapterRW
[System.Runtime.InteropServices.Guid("096CD635-0786-11D1-95FA-0080C78EE3BB")]
public interface SharePointListAdapterRWObject : Microsoft.Office.Interop.InfoPath.SharePointListAdapterRW
type SharePointListAdapterRWObject = interface
    interface SharePointListAdapterRW
Public Interface SharePointListAdapterRWObject
Implements SharePointListAdapterRW
Derived
Attributes
Implements

Remarks

This type is a wrapper for a coclass that is required by managed code for COM interoperability. Use this type to access the members of the COM interface implemented by this coclass. For information about the COM interface, including a link to descriptions of its members, seeSharePointListAdapterRW

Note: Code written with the members implemented by the SharePointListAdapterRWObject class is not compatible with a data connection to a SharePoint list or document library created in InfoPath 2003 or InfoPath 2007, with a data connection in a new form template created in InfoPath with one of the InfoPath 2007 Form Templates, or with a data connection converted with the Convert to Previous Version button in the Data Connections dialog box. If you do not need to maintain compatibility with an earlier version of InfoPath and want to write code with members implemented by the SharePointListAdapterRWObject class, you can convert the data connection with the Convert to Current Version button in the Data Connections dialog box.

The SharePointListAdapterRW object represents a Microsoft InfoPath data connection for retrieving from a SharePoint list or document library.

For a secondary data source, the SharePointListAdapterRW object is accessible through the QueryAdapter property of DataSourceObject object. Data adapter objects are accessible through the DataAdapters property of the XDocument object.

Properties

ContentTypeId

Gets or sets the content type ID of the SharePoint list associated with the SharePointListAdapterRWObject object.

(Inherited from SharePointListAdapterRW)
ListId

Gets or sets the list ID of the SharePoint list associated with the SharePointListAdapterRWObject object.

(Inherited from SharePointListAdapterRW)
Name

Gets the name of a Microsoft.Office.Interop.InfoPath.SharepointListAdapterRWObject object.

(Inherited from SharePointListAdapterRW)
QueryAllowed

Gets a value that always returns true, which corresponds to the value of the queryAllowed attribute in the form definition file (.xsf).

(Inherited from SharePointListAdapterRW)
SiteUrl

Gets the Uniform Resource Locator (URL) of the SharePoint Foundation site that the data connection represented by the Microsoft.Office.Interop.InfoPath.SharepointListAdapterRWObject object will query.

(Inherited from SharePointListAdapterRW)
SubmitAllowed

Gets a value that specifies whether a submit operation is allowed, which corresponds to the value of the submitAllowed attribute in the form definition file (.xsf).

(Inherited from SharePointListAdapterRW)

Methods

Query()

Reads data from the associated data connection.

(Inherited from SharePointListAdapterRW)
Submit()

Submits data to the associated data connection.

(Inherited from SharePointListAdapterRW)

Applies to