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.
Declaration Syntax
C# | Visual Basic | Visual C++ |
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 _ )
public: virtual void GetImportSample( IndexableSourceRecord^ indexableSourceRecord, DataSet^ dataSet, int sampleSize, LinkBasedImportSampler..::.InvokeMethod^ invoker )
Parameters
- 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.
Remarks
Can be used to test import parameters and produce example of result from Import method.