클래스 CCM_ServiceWindowManager의 GetCurrentWindowAvailableTime 메서드GetCurrentWindowAvailableTime Method in Class CCM_ServiceWindowManager
GetCurrentWindowAvailableTime
Configuration Manager WMI 클래스 메서드는 지정 된 형식에 대해 현재 활성 서비스 기간에서 남은 시간을 가져옵니다.The GetCurrentWindowAvailableTime
WMI class method, in Configuration Manager, gets the time remaining in a currently active service window for a specified type.
다음 구문은 MOF(Managed Object Format) (MOF) 코드에서 간소화 되었으며 메서드를 정의 합니다.The following syntax is simplified from Managed Object Format (MOF) code and defines the method.
구문Syntax
uint32 GetCurrentWindowAvailableTime(
[IN] UInt32 ServiceWindowType,
[IN] Boolean FallbackToAllProgramsWindow,
[OUT] UInt32 WindowAvailableTime
);
매개 변수Parameters
ServiceWindowType
데이터 형식: UInt32
Data type: UInt32
한정자: [in]Qualifiers: [in]
서비스 윈도의 유형입니다.Type of service window. 다음 표에서는 가능한 값의 목록을 보여 줍니다.The following table shows the list of possible values.
값Value | 서비스 기간 유형Service Window Type | 설명Description |
---|---|---|
11 | ALLPROGRAM_SERVICEWINDOWALLPROGRAM_SERVICEWINDOW | 모든 프로그램 서비스 창All Programs Service Window |
22 | PROGRAM_SERVICEWINDOWPROGRAM_SERVICEWINDOW | 프로그램 서비스 창Program Service Window |
33 | REBOOTREQUIRED_SERVICEWINDOWREBOOTREQUIRED_SERVICEWINDOW | 다시 부팅 해야 하는 서비스 창Reboot Required Service Window |
44 | SOFTWAREUPDATE_SERVICEWINDOWSOFTWAREUPDATE_SERVICEWINDOW | 소프트웨어 업데이트 서비스 창Software Update Service Window |
55 | OSD_SERVICEWINDOWOSD_SERVICEWINDOW | OSD 서비스 창OSD Service Window |
66 | USER_DEFINED_SERVICE_WINDOWUSER_DEFINED_SERVICE_WINDOW | 휴무 시간에 해당 합니다.Corresponds to non-working hours |
FallbackToAllProgramsWindow
데이터 형식: Boolean
Data type: Boolean
한정자: [in]Qualifiers: [in]
true
에 지정 된 창을 사용할 수 없을 때 일반 모든 프로그램 창 서비스 창을 사용할 수 있으면이 고 ServiceWindowType
, 그렇지 않으면 false
입니다.true
if the generic All programs window service window is to be used when a window specified in ServiceWindowType
is not available; otherwise, false
.
WindowAvailableTime
데이터 형식: UInt32
Data type: UInt32
한정자: [out]Qualifiers: [out]
서비스 기간에 남은 사용 가능한 시간입니다.Available time remaining for service window.
반환 값Return Values
UInt32
실패를 나타내는 0 또는 0이 아닌 데이터 형식입니다.A UInt32
data type that is 0 to indicate success or nonzero to indicate failure.
반환 된 오류를 처리 하는 방법에 대 한 자세한 내용은 Configuration Manager 오류 정보를 참조 하세요.For information about handling returned errors, see About Configuration Manager Errors.
설명Remarks
요구 사항Requirements
런타임 요구 사항Runtime Requirements
자세한 내용은 Configuration Manager 클라이언트 런타임 요구 사항을 참조 하세요.For more information, see Configuration Manager Client Runtime Requirements.
개발 요구 사항Development Requirements
자세한 내용은 Configuration Manager 클라이언트 개발 요구 사항을 참조 하세요.For more information, see Configuration Manager Client Development Requirements.
참고 항목See Also
CCM_ServicewindowManager 클라이언트 WMI 클래스CCM_ServicewindowManager Client WMI Class