Edit

Share via


SharepointListAdapter2 Interface

Definition

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, seeSharepointListAdapterObject.

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

Properties

Name

Gets the name of the data adapter associated with a SharepointListAdapterObject object.

QueryAllowed

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

QueryThisFormOnly

Gets whether the query operation will apply only to the current form.

SiteUrl

Gets the Uniform Resource Locator (URL) of the Windows SharePoint Services site that the SharepointListAdapterObject object will query.

SubmitAllowed

Gets a value that always returns false, corresponding to the submitAllowed attribute in the form definition file (.xsf).

Methods

Query()

Reads data from the associated data adapter.

Submit()

Available for the SharepointListAdapterObject, but, because SharePointListAdapter object is available for receiving data only, the method will always generate a run-time error when it is called on that object.

Applies to