Sets or returns the maximum number of rows to import from the data source.

<table class="wysiwyg-macro" data-macro-name="unmigrated-wiki-markup" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e3VubWlncmF0ZWQtd2lraS1tYXJrdXB9&amp;locale=en_GB&amp;version=2); background-repeat: no-repeat;" data-macro-body-type="PLAIN_TEXT"><tr><td class="wysiwyg-macro-body"><pre>
 public int MaxRows{ get; set; }
</pre></td></tr></table>
<p>Public Property MaxRows() As Integer</p>


          //--- Get MaxRows
          int maxRows = importProps.MaxRows;

          //--- Set MaxRows
          importProps.MaxRows = 20;
        

          '--- Get MaxRows
          Dim maxRows As Integer = importProps.MaxRows

          '--- Set MaxRows
          importProps.MaxRows = 20