Export (0) Print
Expand All

ICommandExecuter2 Interface

Contains a method to connect to SQL Server.

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

public interface ICommandExecuter2 : ICommandExecuter

The ICommandExecuter2 type exposes the following members.

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

Community Additions

ADD
Show:
© 2014 Microsoft