ICommandExecuter.Ed(String, IBatchSource) Method

Definition

Edits the last and current batch, and then reparses.

public:
 ManagedBatchParser::ParserAction Ed(System::String ^ batch, ManagedBatchParser::IBatchSource& ^ pIBatchSource);
public ManagedBatchParser.ParserAction Ed (string batch, ManagedBatchParser.IBatchSource& pIBatchSource);
Public Function Ed (batch As String, pIBatchSource As IBatchSource&) As ParserAction

Parameters

batch
String

Contains the Transact-SQL statements that are included in the batch.

pIBatchSource
IBatchSource

A pointer to the IBatchSource interface.

Returns

The parser action, either Abort or Continue.

Applies to