共用方式為


SPMaintenanceWindow.Duration property

維護期間

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

Syntax

'宣告
Public Property Duration As TimeSpan
    Get
    Set
'用途
Dim instance As SPMaintenanceWindow
Dim value As TimeSpan

value = instance.Duration

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

Property value

Type: System.TimeSpan

請參閱

參照

SPMaintenanceWindow class

SPMaintenanceWindow members

Microsoft.SharePoint.Administration namespace