SPSiteAdministration.ReadLocked property
Gets or sets a value indicating whether the site is blocked for read access.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Property ReadLocked As Boolean
Get
Set
'Usage
Dim instance As SPSiteAdministration
Dim value As Boolean
value = instance.ReadLocked
instance.ReadLocked = value
public bool ReadLocked { get; set; }
Property value
Type: System.Boolean
true if the site is blocked; otherwise, false.