Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

Excerpt

Returns or set an int that represents the maximum number of rows to be imported. If more rows than this are in the data source, the extra ones will be ignored.

Signature
C#
C#
<table class="diff-macro"><thead><tr><th class="diff-macro-title">unmigrated-wiki-markup</th></tr></thead><tbody><tr><td class="diff-macro-body"><pre>
 public int MaxRows{ get; set; }
</pre></td></tr></tbody></table>
Signature
vb.net
vb.net
Public <p>Public Property MaxRows() As Integer</p>Integer
Example
 
Code Block
csharp
csharp
titleC#
            //--- Return MaxRows
          int rows = importProps.MaxRows;

          //--- Set MaxRows
          importProps.MaxRows = 50;
        
Code Block
vb.net
vb.net
titlevb.net
            '--- Return MaxRows
          Dim rows As Integer = importProps.MaxRows

          '--- Set MaxRows
          importProps.MaxRows = 50
        
Example