CURD.GetScheduledTaskIDs Method: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
mNo edit summary
m (Change VB.NET to .NET.)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:cURD.GetScheduledTaskIDs Method}}{{Template:API}}{{Template:APIBreadcrumb|9|.[[CURD_Class|cURD]]}}
{{DISPLAYTITLE:cURD.GetScheduledTaskIDs Method}}{{Template:API}}{{Template:APIBreadcrumb|.[[CURD_Class|cURD]]}}




<onlyinclude>Returns an array containing the numeric IDs of of the scheduled tasks assigned to the URD. '''Long'''. (Alternatively, VB.NET users can use the ScheduledTaskIDs() property to get or set the task IDs.)</onlyinclude>
<onlyinclude>Returns an array containing the numeric IDs of of the scheduled tasks assigned to the URD. '''Long'''.</onlyinclude>
 
 
'''Remarks''': Alternatively, .NET users can use the <code>ScheduledTaskIDs()</code> property in the class to get or set the task IDs.


== Syntax ==
== Syntax ==

Latest revision as of 21:28, 17 August 2017

APIWiki.png


Member of: SynthesisAPI.cURD


Returns an array containing the numeric IDs of of the scheduled tasks assigned to the URD. Long.


Remarks: Alternatively, .NET users can use the ScheduledTaskIDs() property in the class 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