CCM_ServiceWindow Client WMI Class
Applies To: System Center 2012 Configuration Manager, System Center 2012 Configuration Manager SP1, System Center 2012 R2 Configuration Manager
The CCM_ServiceWindow Client WMI class is a client class, in Configuration Manager, that lists instances of service windows.
The following syntax is simplified from the Managed Object Format (MOF) code and includes all inherited properties.
Syntax
class CCM_ServiceWindow
{
UInt32 Duration;
Datetime EndTime;
String ID;
Datetime StartTime;
UInt32 Type;
};
Methods
The CCM_ServiceWindow class does not define any methods.
Properties
Duration
Data type: UInt32Access type: Read-only
Qualifiers: [read]
Total duration, in seconds, of the service window.
EndTime
Data type: DatetimeAccess type: Read-only
Qualifiers: [read]
Date and time to end the service window.
ID
Data type: StringAccess type: Read-only
Qualifiers: [read]
Service window identifier for this particular instance of service window
StartTime
Data type: DatetimeAccess type: Read-only
Qualifiers: [read]
Date and time to start the service window.
Type
Data type: UInt32Access type: Read-only
Qualifiers: [read]
Type of service window. The following table shows the list of possible values.
Value
Service Window Type
Description
1
ALLPROGRAM_SERVICEWINDOW
All Programs Service Window
2
PROGRAM_SERVICEWINDOW
Program Service Window
3
REBOOTREQUIRED_SERVICEWINDOW
Reboot Required Service Window
4
SOFTWAREUPDATE_SERVICEWINDOW
Software Update Service Window
5
OSD_SERVICEWINDOW
OSD Service Window
6
USER_DEFINED_SERVICE_WINDOW
Corresponds to non-working hours.
Remarks
Requirements
Runtime Requirements
For more information, see Configuration Manager Client Runtime Requirements.
Development Requirements
For more information, see Configuration Manager Client Development Requirements.