コード例 #1
0
        /// <summary>
        /// Query for data quality feed of subaccounts
        /// </summary>
        /// <param name="accountId">the account Id intended on the request</param>
        /// <returns>the retrieved DataQualityFeed</returns>
        public DataQualityFeed QueryDataQualityFeed(string accountId)
        {
            DataQualityQuery query = new DataQualityQuery();

            query.AccountId = accountId;
            return(QueryDataQualityFeed(query));
        }
コード例 #2
0
        /// <summary>
        /// Query for data quality feed of subaccounts
        /// </summary>
        /// <param name="feedQuery">The DataQualityQuery to use</param>
        /// <returns>the retrieved DataQualityFeed</returns>
        public DataQualityFeed QueryDataQualityFeed(DataQualityQuery feedQuery)
        {
            if (feedQuery.AccountId == null)
            {
                feedQuery.AccountId = AccountId;
            }

            return(base.Query(feedQuery) as DataQualityFeed);
        }