public MiningServiceParameter this[string index] { get { MiningServiceParameter miningServiceParameter = this.Find(index); if (null == miningServiceParameter) { throw new ArgumentException(SR.Indexer_ObjectNotFound(index), "index"); } return(miningServiceParameter); } }
internal static MiningServiceParameter GetMiningServiceParameterByRow(AdomdConnection connection, DataRow row, IAdomdBaseObject parentObject, string catalog, string sessionId) { MiningServiceParameter miningServiceParameter; if (row[0] is DBNull) { miningServiceParameter = new MiningServiceParameter(connection, row, parentObject, catalog, sessionId); row[0] = miningServiceParameter; } else { miningServiceParameter = (MiningServiceParameter)row[0]; } return(miningServiceParameter); }