parameter">logonType</span>  <a href="T_Microsoft_Win32_TaskScheduler_TaskLogonType.htm">TaskLogonType</a>  (Optional)</dt><dd>A <a href="T_Microsoft_Win32_TaskScheduler_TaskLogonType.htm">TaskLogonType</a> value that defines what logon technique is used to run the registered task.</dd></dl><h4>Return Value</h4><a href="T_Microsoft_Win32_TaskScheduler_Task.htm">Task</a><br />A registered <a href="T_Microsoft_Win32_TaskScheduler_Task.htm">Task</a> instance.</div><div class="collapsibleAreaRegion"><span c