- HOME
- Post in | c/c++/레퍼런스
- Post at | 2014. 3. 3. 20:23 | by 밀크빵.
- View comment
ILogonTrigger interface
Properties
The ILogonTrigger interface has these properties.
Property | Access type | Description |
---|---|---|
Delay (작업 지연 시간) | Read/write | Gets or sets a value that indicates the amount of time between when the user logs on and when the job is started. |
Enabled(사용) | Read/write | Inherited from the ITrigger interface. Gets or sets a Boolean value that indicates whether the trigger is enabled. |
EndBoundary(만료) | Read/write | Inherited from the ITrigger interface. Gets or sets the date and time when the trigger is deactivated. The trigger cannot start the task after it is deactivated. 사용 예) put_EndBoundary(_bstr_t(L"2015-05-02T08:00:00")) |
ExecutionTimeLimit (다음 기간 이상 실행되는 작업 중지) | Read/write | Inherited from the ITrigger interface. Gets or sets the maximum amount of time that the task launched by this trigger is allowed to run. |
Read/write | Inherited from the ITrigger interface. Gets or sets the identifier for the trigger. | |
Repetition (작업 반복 간격) | Read/write | Inherited from the ITrigger interface. Gets or sets a value that indicates how often the task is run and how long the repetition pattern is repeated after the task is started. |
StartBoundary (활성화) | Read/write | Inherited from the ITrigger interface. Gets or sets the date and time when the trigger is activated. 사용 예) put_StartBoundary(_bstr_t(L"2014-01-01T12:05:00")); |
Type(작업 시작) | Read-only | Inherited from the ITrigger interface. Gets the type of the trigger. TASK_TRIGGER_EVENT 이벤트 상태 TASK_TRIGGER_TIME 매일 지정된 시간 TASK_TRIGGER_DAILY 매일 TASK_TRIGGER_WEEKLY 매주 TASK_TRIGGER_MONTHLY 매달 TASK_TRIGGER_MONTHLYDOW 매달 지정된 날 TASK_TRIGGER_IDLE 유휴 상태 TASK_TRIGGER_REGISTRATION 등록 되었을 때 TASK_TRIGGER_BOOT 시작할 때 TASK_TRIGGER_LOGON 로그온할 때 TASK_TRIGGER_SESSION_STATE_CHANGE 세션 상태 변경 |
UserId(특정 사용자) | Read/write | Gets or sets the identifier of the user. NULL 모든 사용자 put_UserId() 로 사용자를 지정해주지 않으면 됨 |
'c/c++ > 레퍼런스' 카테고리의 다른 글
ITaskSettings interface (0) | 2014.03.04 |
---|---|
Shellexecute() (0) | 2013.02.06 |
PathFindSuffixArray 경로에 찾고자 하는 문자열 있는지 확인 (0) | 2013.01.16 |