我想从 Navigation sharepoint online 2013 中删除一个导航节点(不禁用 QuickLaunch)
ClientContext context = ClaimClientContext.GetAuthenticatedContext(targetURL, 600, 600);
NavigationNodeCollection collNavNode = context.Web.Navigation.QuickLaunch;
context.Load(collNavNode);
foreach (SP.NavigationNode node in collNavNode)
{
node.DeleteObject();
}
context.ExecuteQuery();
它不工作。