Read an object variable having “FileInfo” object content in C# script task
问题 I'm trying to loop and read an object variable(as shown in the pic) where it has the file details(name/size/datemodified) from a share point location. Basically I need something similar to below code to just read the "Name" value. using System; using System.Data; using Microsoft.SqlServer.Dts.Runtime; using System.Windows.Forms; using System.Data.OleDb; using System.IO; using System.Collections; using System.Collections.Generic; public void Main() { var fileinfo = Dts.Variables["User::DvarObj