コード例 #1
0
 public void RefreshMetadata()
 {
     if (_type == AdomdType.AnalysisServices)
     {
         if (_conn != null)
         {
             _conn.RefreshMetadata();
         }
     }
     else
     {
         ExcelAdoMdConnections.VoidDelegate f = delegate
         {
             if (_connExcel != null)
             {
                 _connExcel.RefreshMetadata();
             }
         };
         f();
     }
 }
コード例 #2
0
        public void RefreshMetadata()
        {
            if (_type == AdomdType.AnalysisServices)
            {
                if (_conn != null)
                {
                    _conn.RefreshMetadata();
                }
            }
            else
            {
                void f()
                {
                    if (_connExcel != null)
                    {
                        _connExcel.RefreshMetadata();
                    }
                }

                f();
            }
        }