This method closes the scan datasource (scan device).
[Visual Basic] Public Function
CloseDataSource() As Boolean
[C#] public bool CloseDataSource();
Return Value
Returns True if successful. Returns False if unsuccessful.
Explanation
The CloseDataSource method closes the datasource that was opened by the OpenDataSource method.
Prior to executing the CloseDataSource and OpenDataSource methods, you must execute the Initialize method.