ISyncSchedule::GetTrigger method
[The ISyncSchedule::GetTrigger method is available for use through Windows XP. It is not available in subsequent versions of Windows.]
Gets an interface that is used to access and set triggers for the scheduled task. Triggers specify task start times, repetition criteria, and other parameters that control when a task is run.
Syntax
HRESULT GetTrigger(
[out] ITaskTrigger **ppTrigger
);
Parameters
ppTrigger [out]
Type: ITaskTrigger**The address of a pointer to the schedule's ITaskTrigger interface.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
End of client support |
Windows XP |
End of server support |
Windows Server 2003 |
Header |
Syncmgr.h |
IDL |
Syncmgr.idl |
DLL |
Mobsync.dll |