ICommandExecuter.ProcessBatch(String, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Processes the batch when a batch delimiter is encountered.
public:
ManagedBatchParser::ParserAction ProcessBatch(System::String ^ str, int num);
public ManagedBatchParser.ParserAction ProcessBatch (string str, int num);
abstract member ProcessBatch : string * int -> ManagedBatchParser.ParserAction
Public Function ProcessBatch (str As String, num As Integer) As ParserAction
Parameters
- str
- String
Contains the Transact-SQL statements that are included in the batch.
- num
- Int32
The number of times that the batch must be executed. For example, if there are five GO statements, num is 5.
Returns
The parser action, either Abort or Continue.