ICommandExecuter2 Interface

Definition

Contains a method to connect to SQL Server.

public interface class ICommandExecuter2 : ManagedBatchParser::ICommandExecuter
public interface ICommandExecuter2 : ManagedBatchParser.ICommandExecuter
type ICommandExecuter2 = interface
    interface ICommandExecuter
Public Interface ICommandExecuter2
Implements ICommandExecuter
Implements

Methods

Connect(Int32, String, String, String)

Connects to an instance of SQL Server.

(Inherited from ICommandExecuter)
Connect(Int32, String, String, String, Boolean, Boolean)

Connects to a SQL Server instance.

Ed(String, IBatchSource)

Edits the last and current batch, and then reparses.

(Inherited from ICommandExecuter)
Error(OutputDestination, String)

Defines the output on error.

(Inherited from ICommandExecuter)
ExecuteShellCommand(String)

Executes a shell command.

(Inherited from ICommandExecuter)
Exit(String, String)

Executes the last batch and parameter, and then exits.

(Inherited from ICommandExecuter)
Help()

Displays the Help.

(Inherited from ICommandExecuter)
IncludeFileName(String, IBatchSource)

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

(Inherited from ICommandExecuter)
List(String)

Lists the batch.

(Inherited from ICommandExecuter)
ListVar(String)

Returns the list of variables.

(Inherited from ICommandExecuter)
OnError(ErrorAction)

Defines the action to take on error.

(Inherited from ICommandExecuter)
Out(OutputDestination, String)

Defines the command output.

(Inherited from ICommandExecuter)
PerfTrace(OutputDestination, String)

Defines the performance trace output.

(Inherited from ICommandExecuter)
ProcessBatch(String, Int32)

Processes the batch when a batch delimiter is encountered.

(Inherited from ICommandExecuter)
Quit()

Stops executing the batch, and then exits.

(Inherited from ICommandExecuter)
Reset()

Clears the Transact-SQL batch.

(Inherited from ICommandExecuter)
ServerList()

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

(Inherited from ICommandExecuter)
Xml(XmlStatus)

Switches XML mode to on or off.

(Inherited from ICommandExecuter)

Applies to