public MiningServiceParameter this[int index]
 {
     get
     {
         if (index < 0 || index >= this.Count)
         {
             throw new ArgumentOutOfRangeException("index");
         }
         DataRow row = this.internalCollection[index];
         return(MiningServiceParameterCollectionInternal.GetMiningServiceParameterByRow(base.Connection, row, this.parentService, base.Catalog, base.SessionId));
     }
 }
        public MiningServiceParameter Find(string index)
        {
            if (index == null)
            {
                throw new ArgumentNullException("index");
            }
            DataRow dataRow = base.FindObjectByName(index, null, MiningServiceParameter.serviceParameterColumn);

            if (dataRow == null)
            {
                return(null);
            }
            return(MiningServiceParameterCollectionInternal.GetMiningServiceParameterByRow(base.Connection, dataRow, this.parentService, base.Catalog, base.SessionId));
        }
Exemplo n.º 3
0
 internal MiningServiceParameterCollection(AdomdConnection connection, MiningService parentService)
 {
     this.miningServiceParameterCollectionInternal = new MiningServiceParameterCollectionInternal(connection, parentService);
 }
 internal MiningServiceParametersEnumerator(MiningServiceParameterCollectionInternal miningServiceParameters)
 {
     this.miningServiceParameters = miningServiceParameters;
     this.currentIndex            = -1;
 }