The following example displays the current taskç´ scheduling parameters in a friendly, textual form.
Sub Main
MsgBox CurrentTask2.FrequencyString
End Sub