This method defines a block of commands to execute. Calls are made to the Execute or AsyncExecute functions until the execution block is cleared with the ClearExecutionBlock method.
Visual Basic |
---|
Public Function SetExecutionBlock( _ ByVal StartCommand As Command, _ ByVal endCommand As Command _ ) As Boolean |
- StartCommand
- This is the first command to execute (as a Command object) in the command block.
- endCommand
- This is the last command to execute (as a Command object) in the command block.
Boolean value. This method returns TRUE if the block of commands successfully executes; FALSE otherwise.