hi all,
via Console Application I can hide/disbale the Delete This List option:
static void Main(string[] args) { SPSite site = new SPSite("http://localhost"); SPWeb web = site.OpenWeb(); SPList list = web.Lists["DemoList"]; list.AllowDeletion = false; list.Update(); }
My question is, if I want do this in Empty SharePoint Project what I must to do ?
if any one has a suggestion or ides please tell me.
thanks in advance
Ahmad
SP 2013 & SPD 2013 & VS 2013 & MSSQL 2012