Which of the following sets of code will execute without error?

Question:Which of the following sets of code will execute without error?

1.public string UpdateListItems(string p_strSiteUrl){SPSecurity.RunWithElevatedPrivilegeS(delegate(){SPSite Site = new SPSite(p_StrSiteUrl);SPWeb web = Site.OpenWeb();SPUSer USer = web.CUrrentUSer;

2.public string UpdateListItems(string p_strSiteUrl){SPSecurity.RunWithElevatedPrivilegeS(delegate(){SPSite Site = new SPSite(p_StrSiteUrl);SPWeb web = Site.OpenWeb();SPUSer USer = web.CUrrentUSer;

3.public string UpdateListItems(string p_strSiteUrl){SPSecurity.RunWithElevatedPrivilegeS(delegate(){SPSite Site = new SPSite("http://localhoSt");SPWeb web = Site.OpenWeb();SPUSer USer =

4.public string UpdateListItems(string p_strSiteUrl){SPSecurity.RunWithElevatedPrivilegeS(delegate(){SPSite Site = new SPSite(p_StrSiteUrl);SPWeb web = Site.OpenWeb();SPUSer USer = web.CUrrentUSer;


Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!