Export (0) Print
Expand All

ICommandExecuter2 Interface


Applies To: SQL Server 2016 Preview

Contains a method to connect to SQL Server.

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

public interface ICommandExecuter2 : ICommandExecuter

System_CAPS_pubmethodConnect(Int32, String, String, String)

Connects to an instance of SQL Server.(Inherited from ICommandExecuter.)

System_CAPS_pubmethodConnect(Int32, String, String, String, Boolean, Boolean)

Connects to a SQL Server instance.

System_CAPS_pubmethodEd(String, IBatchSource)

Edits the last and current batch, and then reparses.(Inherited from ICommandExecuter.)

System_CAPS_pubmethodError(OutputDestination, String)

Defines the output on error.(Inherited from ICommandExecuter.)


Executes a shell command.(Inherited from ICommandExecuter.)

System_CAPS_pubmethodExit(String, String)

Executes the last batch and parameter, and then exits.(Inherited from ICommandExecuter.)


Displays the Help.(Inherited from ICommandExecuter.)

System_CAPS_pubmethodIncludeFileName(String, IBatchSource)

Parses the given file, as if the file is part of the current file.(Inherited from ICommandExecuter.)


Lists the batch.(Inherited from ICommandExecuter.)


Returns the list of variables.(Inherited from ICommandExecuter.)


Defines the action to take on error.(Inherited from ICommandExecuter.)

System_CAPS_pubmethodOut(OutputDestination, String)

Defines the command output.(Inherited from ICommandExecuter.)

System_CAPS_pubmethodPerfTrace(OutputDestination, String)

Defines the performance trace output.(Inherited from ICommandExecuter.)

System_CAPS_pubmethodProcessBatch(String, Int32)

Processes the batch when a batch delimiter is encountered.(Inherited from ICommandExecuter.)


Stops executing the batch, and then exits.(Inherited from ICommandExecuter.)


Clears the Transact-SQL batch.(Inherited from ICommandExecuter.)


Returns a list of the servers that are available through the provider.(Inherited from ICommandExecuter.)


Switches XML mode to on or off.(Inherited from ICommandExecuter.)

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft