ICommandExecuter.Exit(String, String) 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.
Executes the last batch and parameter, and then exits.
public:
ManagedBatchParser::ParserAction Exit(System::String ^ batch, System::String ^ exitBatch);
public ManagedBatchParser.ParserAction Exit(string batch, string exitBatch);
abstract member Exit : string * string -> ManagedBatchParser.ParserAction
Public Function Exit (batch As String, exitBatch As String) As ParserAction
Parameters
- batch
- String
Contains the Transact-SQL statements that are included in the batch.
- exitBatch
- String
The batch that is specified with the :Exit sqlcmd command as a parameter.
Returns
The parser action, either Abort or Continue.