Timeline for delete all files in sub folder CSOM
Current License: CC BY-SA 3.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 13, 2014 at 8:46 | comment | added | Vadim Gremyachev | Regarding ClientContext, I prefer to pass Client Object(see the updated example for DeleteFolder method) since as you already mentioned the initialization of ClientContext could vary depending on the app type | |
May 13, 2014 at 8:37 | history | edited | Vadim Gremyachev | CC BY-SA 3.0 |
deleted 95 characters in body
|
May 13, 2014 at 8:35 | comment | added | Vadim Gremyachev | Thanks, since your answer is correct I cant ignore it too (+1) ;) | |
May 13, 2014 at 8:31 | comment | added | eirikb |
I was trying to point out: Why include initialization of ClientContext when there are so many different way to initialize it. Oh well. I'll give you the vote I promised now :)
|
|
May 2, 2014 at 6:26 | comment | added | Vadim Gremyachev | That's right, for autohosted app it would be different | |
May 1, 2014 at 18:43 | comment | added | eirikb | Nice, but just wondering, if you were deploying an autohosted app wouldn't the initialization be different from your second example? | |
May 1, 2014 at 18:36 | comment | added | Vadim Gremyachev | Thank you guys for your comments, appreciate it. @eirikb, you're right, to access O365, credentials should be provided as demonstrated in the second example. | |
May 1, 2014 at 18:27 | history | edited | Vadim Gremyachev | CC BY-SA 3.0 |
added 845 characters in body
|
May 1, 2014 at 17:47 | comment | added | eirikb | This is a better answer than mine, but I'll leave mine to show alternatives. Also, can you really initialize ClientContext like that for 365? (I will up when you altered according to Robert :) ) | |
May 1, 2014 at 16:31 | comment | added | Robert Lindgren | Downside is that even if you recreate the folder, you may loose broken inheritance and special permissions | |
May 1, 2014 at 16:29 | history | answered | Vadim Gremyachev | CC BY-SA 3.0 |