Export (0) Print
Expand All

ICommandExecuter Interface

Defines methods that are used to execute commands in the parser.

Namespace:  ManagedBatchParser
Assembly:  Microsoft.SqlServer.BatchParser (in Microsoft.SqlServer.BatchParser.dll)

public interface ICommandExecuter

The ICommandExecuter type exposes the following members.

Public methodConnectConnects to an instance of SQL Server.
Public methodEdEdits the last and current batch, and then reparses.
Public methodErrorDefines the output on error.
Public methodExecuteShellCommandExecutes a shell command.
Public methodExitExecutes the last batch and parameter, and then exits.
Public methodHelpDisplays the Help.
Public methodIncludeFileNameParses the given file, as if the file is part of the current file.
Public methodListLists the batch.
Public methodListVarReturns the list of variables.
Public methodOnErrorDefines the action to take on error.
Public methodOutDefines the command output.
Public methodPerfTraceDefines the performance trace output.
Public methodProcessBatchProcesses the batch when a batch delimiter is encountered.
Public methodQuitStops executing the batch, and then exits.
Public methodResetClears the Transact-SQL batch.
Public methodServerListReturns a list of the servers that are available through the provider.
Public methodXmlSwitches XML mode to on or off.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft