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 class ICommandExecuter

NameDescription
System_CAPS_pubmethodConnect(Int32, String^, String^, String^)

Connects to an instance of SQL Server.

System_CAPS_pubmethodEd(String^, IBatchSource^%)

Edits the last and current batch, and then reparses.

System_CAPS_pubmethodError(OutputDestination, String^)

Defines the output on error.

System_CAPS_pubmethodExecuteShellCommand(String^)

Executes a shell command.

System_CAPS_pubmethodExit(String^, String^)

Executes the last batch and parameter, and then exits.

System_CAPS_pubmethodHelp()

Displays the Help.

System_CAPS_pubmethodIncludeFileName(String^, IBatchSource^%)

Parses the given file, as if the file is part of the current file.

System_CAPS_pubmethodList(String^)

Lists the batch.

System_CAPS_pubmethodListVar(String^)

Returns the list of variables.

System_CAPS_pubmethodOnError(ErrorAction)

Defines the action to take on error.

System_CAPS_pubmethodOut(OutputDestination, String^)

Defines the command output.

System_CAPS_pubmethodPerfTrace(OutputDestination, String^)

Defines the performance trace output.

System_CAPS_pubmethodProcessBatch(String^, Int32)

Processes the batch when a batch delimiter is encountered.

System_CAPS_pubmethodQuit()

Stops executing the batch, and then exits.

System_CAPS_pubmethodReset()

Clears the Transact-SQL batch.

System_CAPS_pubmethodServerList()

Returns a list of the servers that are available through the provider.

System_CAPS_pubmethodXml(XmlStatus)

Switches XML mode to on or off.

Return to top
Show: