Share via


SPMaintenanceWindow.Duration property

maintenance duration

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

Syntax

'Declaration
Public Property Duration As TimeSpan
    Get
    Set
'Usage
Dim instance As SPMaintenanceWindow
Dim value As TimeSpan

value = instance.Duration

instance.Duration = value
public TimeSpan Duration { get; set; }

Property value

Type: System.TimeSpan

See also

Reference

SPMaintenanceWindow class

SPMaintenanceWindow members

Microsoft.SharePoint.Administration namespace