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

NameDescription
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.)

System_CAPS_pubmethodExecuteShellCommand(String)

Executes a shell command.(Inherited from ICommandExecuter.)

System_CAPS_pubmethodExit(String, String)

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

System_CAPS_pubmethodHelp()

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.)

System_CAPS_pubmethodList(String)

Lists the batch.(Inherited from ICommandExecuter.)

System_CAPS_pubmethodListVar(String)

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

System_CAPS_pubmethodOnError(ErrorAction)

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.)

System_CAPS_pubmethodQuit()

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

System_CAPS_pubmethodReset()

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

System_CAPS_pubmethodServerList()

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

System_CAPS_pubmethodXml(XmlStatus)

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

Show:
© 2015 Microsoft