Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the first maintenance window where the ShouldNotify operation returns true.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function GetMaintenanceWindow ( _
date As DateTime _
) As SPMaintenanceWindow
'Usage
Dim instance As SPContentDatabase
Dim date As DateTime
Dim returnValue As SPMaintenanceWindow
returnValue = instance.GetMaintenanceWindow(date)
public SPMaintenanceWindow GetMaintenanceWindow(
DateTime date
)
Parameters
date
Type: System.DateTimeThe maintenance window date.
Return value
Type: Microsoft.SharePoint.Administration.SPMaintenanceWindow
The first maintenance window where the ShouldNotify operation returns true.