SccEndBatch function
Applies to: Visual Studio Visual Studio for Mac
Note
This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here
This function concludes a batch of source control operations. These batches may not be nested.
Syntax
SCCRTN SccEndBatch(void);
Parameters
None.
Return value
The source control plug-in implementation of this function is expected to return one of the following values:
Value | Description |
---|---|
SCC_OK | Batch of operations successfully concluded. |
SCC_E_UNKNOWNERROR | Nonspecific failure. |
Remarks
Source control batches are used to execute the same source control operations across multiple projects or multiple contexts. Batches can be used to eliminate redundant dialog boxes from the user experience during a batched operation. The SccBeginBatch and the SccEndBatch
function are used as a pair to indicate the beginning and end of an operation. They cannot be nested.