共用方式為


SPMaintenanceWindow constructor (SPMaintenanceWindowType, DateTime, DateTime, DateTime, DateTime, TimeSpan, String)

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

Syntax

'宣告
Public Sub New ( _
    type As SPMaintenanceWindowType, _
    maintenanceStartDate As DateTime, _
    maintenanceEndDate As DateTime, _
    notificationStartDate As DateTime, _
    notificationEndDate As DateTime, _
    duration As TimeSpan, _
    link As String _
)
'用途
Dim type As SPMaintenanceWindowType
Dim maintenanceStartDate As DateTime
Dim maintenanceEndDate As DateTime
Dim notificationStartDate As DateTime
Dim notificationEndDate As DateTime
Dim duration As TimeSpan
Dim link As String

Dim instance As New SPMaintenanceWindow(type, maintenanceStartDate, _
    maintenanceEndDate, notificationStartDate, _
    notificationEndDate, duration, link)
public SPMaintenanceWindow(
    SPMaintenanceWindowType type,
    DateTime maintenanceStartDate,
    DateTime maintenanceEndDate,
    DateTime notificationStartDate,
    DateTime notificationEndDate,
    TimeSpan duration,
    string link
)

參數

請參閱

參照

SPMaintenanceWindow class

SPMaintenanceWindow members

SPMaintenanceWindow overload

Microsoft.SharePoint.Administration namespace