Produces a sample DataTable of data that will be imported from the indexableSourceRecord using dataSource and places it in the DataSet ds as the first item.

C# | Visual Basic |
public virtual void GetImportSample( IndexableSourceRecord indexableSourceRecord, DataSet dataSet, int sampleSize, LinkBasedImportSampler..::..InvokeMethod invoker )
Public Overridable Sub GetImportSample ( indexableSourceRecord As IndexableSourceRecord, dataSet As DataSet, sampleSize As Integer, invoker As LinkBasedImportSampler..::..InvokeMethod )

- indexableSourceRecord (IndexableSourceRecord)
- The instance of the source record which will be used to import documents/records.
- dataSet (DataSet)
- The DataSet to which the DataTable is added.
- sampleSize (Int32)
- The number of records to retrieve.
- invoker (LinkBasedImportSampler..::..InvokeMethod)
- A UI control with an Invoke method, which can be used to invoke a method on the UI thread. Can only be null when operating outside of Windows Forms.

Can be used to test import parameters and produce example of result from Import method.
Assembly: Keyoti4.SearchEngine.Core (Module: Keyoti4.SearchEngine.Core.dll) Version: 2022.8.22.610