SPMaintenanceWindow - Constructeur (SPMaintenanceWindowType, DateTime, DateTime, DateTime, DateTime, TimeSpan, String)
Espace de noms : Microsoft.SharePoint.Administration
Assembly : Microsoft.SharePoint (dans Microsoft.SharePoint.dll)
Syntaxe
'Déclaration
Public Sub New ( _
type As SPMaintenanceWindowType, _
maintenanceStartDate As DateTime, _
maintenanceEndDate As DateTime, _
notificationStartDate As DateTime, _
notificationEndDate As DateTime, _
duration As TimeSpan, _
link As String _
)
'Utilisation
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
)
Paramètres
- maintenanceStartDate
Type : System.DateTime
- maintenanceEndDate
Type : System.DateTime
- notificationStartDate
Type : System.DateTime
- notificationEndDate
Type : System.DateTime
- duration
Type : System.TimeSpan
- link
Type : System.String