This property sets the name of the scan device.
[Visual Basic] Public Property DataSourceName
As String
[C#] public string DataSourceName {set;}
Property Value
The name of the scan device
Explanation
The DataSourceName property sets the name of the scandevice. The DataSourceName property must be set prior to executing the OpenDataSource or the Execute methods. However, if the Execute method is executed after the OpenDataSource method then the DataSourceName property value will be disregarded. If the DataSourceName property is not set, the scan device selected by the SelectDataSource method will be used.