cURD.GetScheduledTaskIDs Method

From ReliaWiki
Revision as of 18:34, 8 October 2015 by Kate Racaza (talk | contribs) (Created page with '{{DISPLAYTITLE:cURD.GetScheduledTaskIDs Method}}{{Template:API}}{{Template:APIBreadcrumb|9|.cURD}} <onlyinclude>Gets an array containing the numeric IDs of of th…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
APIWiki.png


Member of: SynthesisAPI9.cURD


Gets an array containing the numeric IDs of of the scheduled tasks assigned to the URD. (Alternatively, VBA.NET users can use the ScheduledTaskIDs() property to get or set the task IDs.)

Syntax

.GetScheduledTaskIDs(arr())

Parameters

arr()

Required. Long. An array of the numeric IDs of the scheduled tasks assigned to the URD.


Example

VBA

 ... 

 'Add code to get an existing URD. 
 Dim aURD As cURD
 ... 

 'Get the IDs of the tasks assigned to the URD. 
 Dim myarray() As Long
 Call aURD.GetScheduledTaskIDs(myarray)

 'Sample output. 
 Dim i As Integer
 Dim upper As Integer
 Dim lower As Integer

 lower = LBound(myarray)
 upper = UBound(myarray)

 For i = lower To upper
  MsgBox (myarray(i))
 Next i