commit | 1fed0ab77e3ebf21c7f85848c9620d0d2cd1d7c3 | [log] [tgz] |
---|---|---|
author | Karl Wright <kwright@apache.org> | Wed Sep 05 13:57:46 2012 +0000 |
committer | Karl Wright <kwright@apache.org> | Wed Sep 05 13:57:46 2012 +0000 |
tree | 1c727a0c0b32380275fb395afa480e72269bf03d | |
parent | baaefef8fda58da21e5af1811eb70565b1bd8806 [diff] |
Separate view attributes from view fields git-svn-id: https://svn.apache.org/repos/asf/manifoldcf/integration/sharepoint-2010/trunk@1381186 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/webservice/MCPermissions.cs b/webservice/MCPermissions.cs index 5f1694e..e63e7b7 100644 --- a/webservice/MCPermissions.cs +++ b/webservice/MCPermissions.cs
@@ -107,10 +107,11 @@ SPQuery listQuery = new SPQuery(); listQuery.QueryThrottleMode = SPQueryThrottleOption.Override; + listQuery.ViewAttributes = "Scope=\"Recursive\""; listQuery.ViewFields = string.Concat( - "<ViewAttributes Scope='Recursive'/>", "<FieldRef Name='FileRef' />"); + listQuery.RowLimit = 1000; uint counter = 0;