MaintenanceSchedule Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| MaintenanceSchedule(ManagementGroup) | |
| MaintenanceSchedule(ManagementGroup, String, Boolean, Boolean, IList<Guid>, Int32, DateTime, DateTime, MaintenanceModeReason, String, Boolean, RecurrencePattern) |
MaintenanceSchedule(ManagementGroup)
public:
MaintenanceSchedule(Microsoft::EnterpriseManagement::ManagementGroup ^ managementGroup);
public MaintenanceSchedule (Microsoft.EnterpriseManagement.ManagementGroup managementGroup);
new Microsoft.EnterpriseManagement.Monitoring.MaintenanceSchedule.MaintenanceSchedule : Microsoft.EnterpriseManagement.ManagementGroup -> Microsoft.EnterpriseManagement.Monitoring.MaintenanceSchedule.MaintenanceSchedule
Public Sub New (managementGroup As ManagementGroup)
Parameters
- managementGroup
- ManagementGroup
Applies to
MaintenanceSchedule(ManagementGroup, String, Boolean, Boolean, IList<Guid>, Int32, DateTime, DateTime, MaintenanceModeReason, String, Boolean, RecurrencePattern)
public:
MaintenanceSchedule(Microsoft::EnterpriseManagement::ManagementGroup ^ managementGroup, System::String ^ scheduleName, bool recursive, bool isEnabled, System::Collections::Generic::IList<Guid> ^ monitoringObjects, int duration, DateTime activeStartTime, DateTime activeEndDate, Microsoft::EnterpriseManagement::Monitoring::MaintenanceModeReason reasonCode, System::String ^ comments, bool isRecurrence, Microsoft::EnterpriseManagement::Monitoring::MaintenanceSchedule::RecurrencePattern ^ recurrencePattern);
public MaintenanceSchedule (Microsoft.EnterpriseManagement.ManagementGroup managementGroup, string scheduleName, bool recursive, bool isEnabled, System.Collections.Generic.IList<Guid> monitoringObjects, int duration, DateTime activeStartTime, DateTime activeEndDate, Microsoft.EnterpriseManagement.Monitoring.MaintenanceModeReason reasonCode, string comments, bool isRecurrence, Microsoft.EnterpriseManagement.Monitoring.MaintenanceSchedule.RecurrencePattern recurrencePattern);
new Microsoft.EnterpriseManagement.Monitoring.MaintenanceSchedule.MaintenanceSchedule : Microsoft.EnterpriseManagement.ManagementGroup * string * bool * bool * System.Collections.Generic.IList<Guid> * int * DateTime * DateTime * Microsoft.EnterpriseManagement.Monitoring.MaintenanceModeReason * string * bool * Microsoft.EnterpriseManagement.Monitoring.MaintenanceSchedule.RecurrencePattern -> Microsoft.EnterpriseManagement.Monitoring.MaintenanceSchedule.MaintenanceSchedule
Public Sub New (managementGroup As ManagementGroup, scheduleName As String, recursive As Boolean, isEnabled As Boolean, monitoringObjects As IList(Of Guid), duration As Integer, activeStartTime As DateTime, activeEndDate As DateTime, reasonCode As MaintenanceModeReason, comments As String, isRecurrence As Boolean, recurrencePattern As RecurrencePattern)
Parameters
- managementGroup
- ManagementGroup
- scheduleName
- String
- recursive
- Boolean
- isEnabled
- Boolean
- duration
- Int32
- activeStartTime
- DateTime
- activeEndDate
- DateTime
- reasonCode
- MaintenanceModeReason
- comments
- String
- isRecurrence
- Boolean
- recurrencePattern
- RecurrencePattern