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.

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

Development Requirements

See Also