File tree Expand file tree Collapse file tree
SPOtoSQL-Snapshots/ConsoleApp1/SPODataQuality Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55using System ;
66using System . Collections ;
77using System . Collections . Generic ;
8- using Microsoft . Data . SqlClient ;
8+ using System . Linq ;
99using System . Linq . Expressions ;
1010using System . Threading ;
11+ using System . Data . SqlClient ;
1112
1213namespace Bring . SPODataQuality
1314{
@@ -283,13 +284,13 @@ public static void GetAllLists()
283284 SPOUser = spoUser
284285 } ;
285286 // Iterate through all lists in the SharePoint site
286- foreach ( List allList in ( ClientObjectCollection < List > ) context . GetAllLists ( ) )
287+ foreach ( Microsoft . SharePoint . Client . List allList in context . GetAllLists ( ) )
287288 {
288289 try
289290 {
290291 Logger . Log ( 1 , "DEBUG: Loading list - " + allList . Title ) ;
291292 // Load the IsSystemList property to determine if the list is a system list
292- context . Ctx . Load < IList > ( allList , new Expression < Func < List , object > > [ 1 ]
293+ context . Ctx . Load < IList > ( allList , new Expression < Func < Microsoft . SharePoint . Client . List , object > > [ 1 ]
293294 {
294295 l => ( object ) l . IsSystemList
295296 } ) ;
You can’t perform that action at this time.
0 commit comments