Sets or returns the maximum number of columns 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 MaxColumns{ get; set; }
</pre></td></tr></table>
<p>Public Property MaxColumns() As Integer</p>


          //--- Get MaxColumns
          int maxCols = importProps.MaxColumns;

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

          '--- Get MaxColumns
          Dim maxCols As Integer = importProps.MaxColumns

          '--- Set MaxColumns
          importProps.MaxColumns = 20