共用方式為


SPContentDatabase.MaintenanceWindows property

取得此資料庫的維護視窗集合。

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

Syntax

'宣告
Public ReadOnly Property MaintenanceWindows As List(Of SPMaintenanceWindow)
    Get
'用途
Dim instance As SPContentDatabase
Dim value As List(Of SPMaintenanceWindow)

value = instance.MaintenanceWindows
public List<SPMaintenanceWindow> MaintenanceWindows { get; }

Property value

Type: System.Collections.Generic.List<SPMaintenanceWindow>
維護視窗集合。

請參閱

參照

SPContentDatabase class

SPContentDatabase members

Microsoft.SharePoint.Administration namespace