> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CheckOut Method of the ClassificationTrainer Object

This method switches the classifier to training mode. The training batch, its documents and pages will be locked until the call to the [**CheckIn**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/classificationtrainer-checkin.md) or [**UndoCheckout**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/classificationtrainer-undocheckout.md) method.

## Syntax

```vb Visual Basic .NET theme={null}
Sub CheckOut()
```

```cpp C++ theme={null}
HRESULT CheckOut();
```

## Return values

This method has no specific return values. It returns the [standard return values of ABBYY FlexiCapture SDK functions](https://docs.abbyy.com/flexi-capture/sdk/api-reference/errorcodes.md).

## See also

[**ClassificationTrainer**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/classificationtrainer.md)
