Repository.Task.GetScheduledTask: Difference between revisions
Jump to navigation
Jump to search
Alex Ulanov (talk | contribs) |
Alex Ulanov (talk | contribs) |
||
Line 16: | Line 16: | ||
{{APIComment|'Get Scheduled Task.}} | {{APIComment|'Get Scheduled Task.}} | ||
Dim GetScheduledTask() as cScheduledTask | Dim GetScheduledTask() as cScheduledTask | ||
GetScheduledTask= MyRepository.GetScheduledTask() | GetScheduledTask= MyRepository.Task.GetScheduledTask(1) | ||
</div> | </div> |
Revision as of 16:36, 22 May 2015
Version 10 Only - Returns scheduled task with the provided ID. Returns nothing if the task doesn't exist.
Syntax
- GetScheduledTask(AscScheduledTask)
Usage Example
'Declare a new repository connection object. Dim MyRepository As New Repository 'Connect to the Synthesis repository. Dim Success As Boolean = False Success = MyRepository.ConnectToRepository("RepositoryFileNamePath") 'Get Scheduled Task. Dim GetScheduledTask() as cScheduledTask GetScheduledTask= MyRepository.Task.GetScheduledTask(1)