SharePointListAdapterRW Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This type is a wrapper for a COM interface implemented by a coclass that is required by managed code for COM interoperability. To access the members specified by this interface, use the type that wraps the coclass that implements this interface. For information about that type, including usage, remarks, and examples, seeSharePointListAdapterRWObject
public interface class SharePointListAdapterRW
[System.Runtime.InteropServices.Guid("096CD635-0786-11D1-95FA-0080C78EE3BB")]
public interface SharePointListAdapterRW
type SharePointListAdapterRW = interface
Public Interface SharePointListAdapterRW
- Derived
- Attributes
Remarks
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 InfoPath 2003/2007 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 Upgrade to InfoPath 2010 button in the Data Connections dialog box.
Properties
ContentTypeId |
Gets or sets the content type ID of the SharePoint list associated with the SharePointListAdapterRWObject object. |
ListId |
Gets or sets the list ID of the SharePoint list associated with the SharePointListAdapterRWObject object. |
Name |
Gets the name of a Microsoft.Office.Interop.InfoPath.SharepointListAdapterRWObject object. |
QueryAllowed |
Gets a value that always returns true, which corresponds to the value of the queryAllowed attribute in the form definition file (.xsf). |
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. |
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). |
Methods
Query() |
Reads data from the associated data connection. |
Submit() |
Submits data to the associated data connection. |