共用方式為


SPSite.MaintenanceMode property

站台是否處於維護模式

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

Syntax

'宣告
Public Property MaintenanceMode As Boolean
    Get
    Friend Set
'用途
Dim instance As SPSite
Dim value As Boolean

value = instance.MaintenanceMode
public bool MaintenanceMode { get; internal set; }

Property value

Type: System.Boolean

請參閱

參照

SPSite class

SPSite members

Microsoft.SharePoint namespace