Sharepoint异常 "值不在预期范围内"

问题描述 投票:-1回答:1

以下是代码

string url="\\abc.org\|test1\\test2\\test3\\test4"
using (ClientContext CC= new CC(url))
{
}

得到这个异常"值不在预期范围内"

c# .net sharepoint sharedpreferences sharepoint-2013
1个回答
0
投票

我不认为这是你使用的正确URL。你可以把一些不同的URL,如 "Https:test1.Microsoftsharepoint.comsitessitecollectionName"。

如果这样就可以了,那就修改你的网站URL。

© www.soinside.com 2019 - 2024. All rights reserved.