You've created a SQL query in the .NET SDK and received the response in an object of type FeedResponse<>. Which property of the feed response should you use to determine how many request units were used per page of results?
-IndexMetrics
-RequestCharge
-Diagnostics
In the .NET SDK, when you receive a response in an object of type FeedResponse<>
, you should use the RequestCharge
property to determine how many request units were used per page of results.
Here’s a brief explanation of each property for context:
So, in your case, you should use the RequestCharge
property to determine the request units used:
double requestUnitsConsumed = feedResponse.RequestCharge;
This value represents the cost of the query in terms of request units (RUs).
Answered By