as long as you have permissions, seeUsing DTS from C# 
http://www.c-sharpcorner.com/Code/2002/Sept/DTSnCS.asp

解决方案 »

  1.   

    Dim dts As New dts.Application()
        Dim package As New dts.Package2Class()        Dim MIA As Object = System.Reflection.Missing.Value
            package.LoadFromStorageFile("维修中心维修记录.dts", "", "", "", "维修中心维修记录", MIA)
            package.GlobalVariables.AddGlobalVariable("MyVariable", "MyValue")
            foreach(DTS.GlobalVariable GVar in package.GlobalVariables)
            package.Execute()
            package.UnInitialize()
    Dim dts As New dts.Application()提示错误:
    带有 CLSID {10030000-EB1C-11CF-AE6E-00AA004A34D5} 的 COM 对象无效或未注册。