Share via


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)
Available in Sandboxed Solutions: No

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.

See Also

Reference

SPSiteAdministration Class

SPSiteAdministration Members

Microsoft.SharePoint.Administration Namespace