StartExecution Method
Description
Starts the execution controller.
Syntax
Visual Basic
Public Function StartExecution( _
   ByVal ServerName As String _
) As Object
Parameters
ServerName
The name of the host for the scheduler. If an empty string is passed, localhost is used.
Return Type
Remarks

The scheduler server is not necessarily the machine on which the tests will run, only the machine on which the scheduler runs. The remote test execution hosts can be set with properties of the TSScheduler Object.

The TSScheduler can perform only one run. If you want to perform more than one run, then after calling TSScheduler.Run, call this method again to get a new TSScheduler object.

See Also