Ejemplo n.º 1
0
 public CubeDef Find(string index)
 {
     if (_obj != null)
     {
         Microsoft.AnalysisServices.AdomdClient.CubeDef obj = _obj.Find(index);
         return(obj == null ? null : new CubeDef(obj));
     }
     else
     {
         ExcelAdoMdConnections.ReturnDelegate <CubeDef> f = delegate
         {
             ExcelAdomdClientReference::Microsoft.AnalysisServices.AdomdClient.CubeDef obj = _objExcel.Find(index);
             return(obj == null ? null : new CubeDef(obj));
         };
         return(f());
     }
 }
Ejemplo n.º 2
0
        public CubeDef Find(string index)
        {
            if (_obj != null)
            {
                Microsoft.AnalysisServices.AdomdClient.CubeDef obj = _obj.Find(index);
                return(obj == null ? null : new CubeDef(obj));
            }
            else
            {
                CubeDef f()
                {
                    ExcelAdomdClientReference::Microsoft.AnalysisServices.AdomdClient.CubeDef obj = _objExcel.Find(index);
                    return(obj == null ? null : new CubeDef(obj));
                }

                return(f());
            }
        }