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::SemiTrust::SharepointListAdapter
[System.Runtime.InteropServices.Guid("096cd740-0786-11d1-95fa-0080c78ee3bb")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsDual)]
public interface SharepointListAdapter2 : Microsoft.Office.Interop.InfoPath.SemiTrust.SharepointListAdapter
type SharepointListAdapter2 = interface
    interface SharepointListAdapter
Public Interface SharepointListAdapter2
Implements SharepointListAdapter
Attributes
Implements

Properties

Name

Gets the name of 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 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 can only receive data, this method will always generate a run-time error when it is called on that object.

Applies to