您的连接字符串与用于将 SSRS 报告连接到共享点列表的连接字符串相同。它应该看起来像这样 http://{sharepointDomain}/{YourSite}。
至于查询,它应该看起来像这样——我是通过使用 SSRS 中的查询设计器得到的。我发现使用查询设计器来存根我的查询是最好的——然后,如果您需要添加过滤器或任何东西,您可以向可选标签添加更多语法。
<RSSharePointList xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ListName>MyList</ListName>
<ViewFields>
<FieldRef Name="name" />
<FieldRef Name="email" />
</ViewFields>
<Query> --if you have any filters, put them in this section here, otherwise remove the Query tags
</Query>
</RSSharePointList>
这是我写的一篇文章,提供了设置它的分步指南。
http://jaysonseaverbi.blogspot.com/2013/11/data-driven-subscription-using.html