CScheduledTask Constructors: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 16: Line 16:
   
   
  {{APIComment|'The following code creates a new scheduled task called "NewSTask".}}
  {{APIComment|'The following code creates a new scheduled task called "NewSTask".}}
   {{APIPrefix|Dim}} STask {{APIPrefix|As}} cScheduledTask({{APIString|"NewSTask"}})
   {{APIPrefix|Dim}} STask {{APIPrefix|As New}} cScheduledTask({{APIString|"NewSTask"}})

Revision as of 18:09, 5 October 2015

APIWiki.png


Member of: SynthesisAPI9.cScheduledTask


A parameterized constructor for the cScheduledTask class. (VB.NET only)

Syntax

cScheduledTask(Name)

Parameters

Name

Required. String. The name for the new scheduled task.


Example

VB.NET

 'The following code creates a new scheduled task called "NewSTask". 
 Dim STask As New cScheduledTask("NewSTask")