Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets a Boolean value that specifies whether the site is run in read-only mode.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Property ReadOnly As Boolean
Get
Set
'Usage
Dim instance As SPSiteAdministration
Dim value As Boolean
value = instance.ReadOnly
instance.ReadOnly = value
public bool ReadOnly { get; set; }
Property Value
Type: System.Boolean
true if the site is run in read-only mode; otherwise, false.