ICommandExecuter Interface
SQL Server 2012
Defines methods that are used to execute commands in the parser.
Namespace: ManagedBatchParser
Assembly: Microsoft.SqlServer.BatchParser (in Microsoft.SqlServer.BatchParser.dll)
The ICommandExecuter type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Connect | Connects to an instance of SQL Server. |
![]() | Ed | Edits the last and current batch, and then reparses. |
![]() | Error | Defines the output on error. |
![]() | ExecuteShellCommand | Executes a shell command. |
![]() | Exit | Executes the last batch and parameter, and then exits. |
![]() | Help | Displays the Help. |
![]() | IncludeFileName | Parses the given file, as if the file is part of the current file. |
![]() | List | Lists the batch. |
![]() | ListVar | Returns the list of variables. |
![]() | OnError | Defines the action to take on error. |
![]() | Out | Defines the command output. |
![]() | PerfTrace | Defines the performance trace output. |
![]() | ProcessBatch | Processes the batch when a batch delimiter is encountered. |
![]() | Quit | Stops executing the batch, and then exits. |
![]() | Reset | Clears the Transact-SQL batch. |
![]() | ServerList | Returns a list of the servers that are available through the provider. |
![]() | Xml | Switches XML mode to on or off. |

