SPSite.IsReadLocked property

Sets or gets, a value that specifies whether the site collection is locked and unavailable for Read access.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property IsReadLocked As Boolean
    Get
    Set
'Usage
Dim instance As SPSite
Dim value As Boolean

value = instance.IsReadLocked

instance.IsReadLocked = value
public bool IsReadLocked { get; set; }

Property value

Type: System.Boolean
true if the site collection is locked and unavailable for Read access; otherwise, false.

See also

Reference

SPSite class

SPSite members

Microsoft.SharePoint namespace