title: Display Value of Variable of type Object in SSIS?
body: <p>Below Query Populate the variable FullResultSet in <code>SQLTask</code></p>
  
  <pre><code>SELECT ped.BaselineId,ped.[Hour] FROM PingErrorDataset ped
  </code></pre>
  
  <p>I want to display the value of variable type of Object in Script Task of <code>SSIS</code>.</p>
  
  <pre><code>MessageBox.Show(Dts.Variables["FullResultSet"].Value.ToString());
  </code></pre>
  
  <p>Output is </p>
  
  <pre><code>System.__ComObject
  </code></pre>
  
  <p>Expected OutPut
  Value of FullResultSet should be value</p>