SPSiteAdministration.WriteLocked Property
Gets or sets a value indicating whether the site is blocked for write access.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Gets or sets a value indicating whether the site is blocked for write access.