I am working on a program that retrieves information from Sharepoint. Now I need to check the behavior of it with some locks.
My question is "How can I lock a single site within a site collection in sharepoint?" (Not programatically)
I got 2 clues,
- Use of stsadmin command line utility
- Use of Central Administration > Application Management > Site Collection Quotas and Locks
But in both cases I cannot lock individual sites.. It locks the entire site collection. 🙁
Best Answer
I am quite sure setsitelock only works on Site Collections. You only need to check if the entire site is locked in your program, you won't face it with a single web.