Reputation
3,351
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
3 29 81
Impact
~348k people reached

Jul
22
awarded  Popular Question
Jul
10
awarded  Popular Question
Jun
23
comment How do I add a web part page in SharePoint 2013 when 'Site Pages' is missing?
I imagine that needs the Publishing feature. See my last comment on the accepted answer.
Jun
9
awarded  Inquisitive
Jun
5
awarded  Popular Question
May
4
awarded  Notable Question
Apr
21
awarded  Announcer
Apr
3
comment How to query using CAML when a value has < in the value
@edelwater It should work with almost anything.
Mar
30
awarded  Famous Question
Mar
24
awarded  Popular Question
Mar
19
awarded  Revival
Feb
17
awarded  Notable Question
Jan
13
awarded  Notable Question
Jan
6
awarded  Announcer
Dec
19
comment Is it possible to update a list's icon?
This will work in SP2013, as noted in the previous answer. The issue I mention in the question is that your penultimate line (list.ImageUrl = ...) is invalid in the previous versions (the versions current when the question was asked).
Dec
5
awarded  Announcer
Dec
4
awarded  Booster
Oct
8
awarded  Popular Question
Sep
30
awarded  Explainer
Sep
27
awarded  Yearling