{description}
{excerpt}Sets or returns the maximum number of columns to import from the data source.{excerpt}
{signature:C#}
 public int MaxColumns{ get; set; }
{signature}{signature:vb.net}
Public Property MaxColumns() As Integer
{signature}
{example}{code:csharp|title=C#}

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

          //--- Set MaxColumns
          importProps.MaxColumns = 20;
        {code}
{code:vb.net|title=vb.net}

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

          '--- Set MaxColumns
          importProps.MaxColumns = 20
        {code}

{example}