SPContentDatabase.MaintenanceWindows property

Gets the collection of maintenance windows for this database.

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

Syntax

'Declaration
Public ReadOnly Property MaintenanceWindows As List(Of SPMaintenanceWindow)
    Get
'Usage
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>
The collection of maintenance windows.

See also

Reference

SPContentDatabase class

SPContentDatabase members

Microsoft.SharePoint.Administration namespace