SPSiteAdministration.WriteLocked property

Gets or sets a value indicating whether the site is blocked for write access.

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

Syntax

'Declaration
Public Property WriteLocked As Boolean
    Get
    Set
'Usage
Dim instance As SPSiteAdministration
Dim value As Boolean

value = instance.WriteLocked

instance.WriteLocked = value
public bool WriteLocked { 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