SPSite.MaintenanceMode property
whether the site is in maintenance mode
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Property MaintenanceMode As Boolean
Get
Friend Set
'Usage
Dim instance As SPSite
Dim value As Boolean
value = instance.MaintenanceMode
public bool MaintenanceMode { get; internal set; }
Property value
Type: System.Boolean