SharepointListAdapter2 接口

定义

此类型是用于由 Coclass(托管代码需要此 Coclass 来实现 COM 互操作性)实现的 COM 接口的包装。 要访问由此接口指定的成员,请使用用于包装实现此接口的 Coclass 的类型。 有关该类型的信息(包括用法、备注和示例),请参阅SharepointListAdapterObject

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
属性
实现

属性

Name

获取对象的名称 SharepointListAdapterObject

QueryAllowed

获取一个总是返回 true 的值,该值与表单定义文件 (.xsf) 中的 queryAllowed 属性相对应。

QueryThisFormOnly

获取一个值,指明查询操作是否将仅应用于当前表单。

SiteUrl

获取对象将查询的Windows SharePoint Services网站的SharepointListAdapterObject统一资源定位符 (URL) 。

SubmitAllowed

设置一个值,该值与表单定义文件 (.xsf) 中的 submitAllowed 属性相对应。

方法

Query()

从关联的数据适配器中读取数据。

Submit()

可用于 SharepointListAdapterObject,但由于 SharePointListAdapter 对象只能接收数据,因此此方法在对对象调用时始终生成运行时错误。

适用于