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