コード例 #1
0
 public AdomdConnection(string connectionString, AdomdType type)
 {
     _type = type;
     if (_type == AdomdType.AnalysisServices)
     {
         _conn = new AsAdomdClient.AdomdConnection(connectionString);
     }
     else
     {
         ExcelAdoMdConnections.VoidDelegate f = delegate
         {
             _connExcel = new ExcelAdomdClient.AdomdConnection(connectionString);
         };
         f();
     }
 }
コード例 #2
0
 public AdomdConnection(ExcelAdomdClient.AdomdConnection obj)
 {
     _type      = AdomdType.Excel;
     _connExcel = obj;
 }