SharePointListAdapterRW.Query 方法

从关联的数据连接中读取数据。

命名空间:  Microsoft.Office.Interop.InfoPath.SemiTrust
程序集:  Microsoft.Office.Interop.InfoPath.SemiTrust(位于 Microsoft.Office.Interop.InfoPath.SemiTrust.dll 中)

语法

声明
Sub Query
用法
Dim instance As SharePointListAdapterRW

instance.Query()
void Query()

备注

如果 QueryAllowed() 属性为 false,则 Query() 方法失败。

此成员只能由与当前打开的表单在相同域中运行的表单访问,或者由已授予跨域权限的表单访问。

另请参阅

引用

SharePointListAdapterRW 接口

SharePointListAdapterRW 成员

Microsoft.Office.Interop.InfoPath.SemiTrust 命名空间