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)); }