Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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)
public interface ICommandExecuter

The ICommandExecuter type exposes the following members.

  NameDescription
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.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.