Gets a sample of the import data that Import will retrieve.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public override void GetImportSample( DataSet dataSet, int sampleSize, LinkBasedImportSampler..::.InvokeMethod invoker )
Public Overrides Sub GetImportSample ( _ dataSet As DataSet, _ sampleSize As Integer, _ invoker As LinkBasedImportSampler..::.InvokeMethod _ )
public: virtual void GetImportSample( DataSet^ dataSet, int sampleSize, LinkBasedImportSampler..::.InvokeMethod^ invoker ) override
Parameters
- dataSet (DataSet)
- The DataSet where a DataTable containing the data will be 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.