CCM_ServiceWindow Client WMI Class

 

Updated: November 1, 2013

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.

class CCM_ServiceWindow
{
    UInt32 Duration;
    Datetime EndTime;
    String ID; 
    Datetime StartTime;
    UInt32 Type; 
};

The CCM_ServiceWindow class does not define any methods.

Duration

Data type: UInt32

Access type: Read-only

Qualifiers: [read]

Total duration, in seconds, of the service window.

EndTime

Data type: Datetime

Access type: Read-only

Qualifiers: [read]

Date and time to end the service window.

ID

Data type: String

Access type: Read-only

Qualifiers: [read]

Service window identifier for this particular instance of service window

StartTime

Data type: Datetime

Access type: Read-only

Qualifiers: [read]

Date and time to start the service window.

Type

Data type: UInt32

Access 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.

Show: