我正在编写一个 c++/c#客户端应用程序以与使用分类法的 Sharepoint 2010 站点
通信/1/9/E1987F6C-4D0A-4918-AEFE-12105B59FF6A/sharepointclientcomponents_x64.msi
客户端用户可以通过从分类术语集中收集的值的下拉列表中选择值来在表单中输入值。为了获取 TermSet,我必须首先获得一个 TaxonomySession:
TaxonomySession taxonomySession = TaxonomySession.GetTaxonomySession(clientContext);
clientContext.Load(taxonomySession,
ts => ts.TermStores.Include(
store => store.Name,
store => store.Groups.Include(
group => group.Name))
);
try
{
clientContext.ExecuteQuery();
}
catch (Exception e)
{
string err = e.Message; // Cannot find proxy for type with id "{981cbc68-9edc-4f8d-872f-71146fcbb84f}"
}
我不确定原因是否是对 Sharepoint 2010 服务器使用 Microsoft.Sharepoint.Client.Taxonomy.dll (Sharepoint 2013) 是非法的,还是我做错了什么