QueryOperationResponse<T>.TotalCount Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The server result set count value from a query, if the query has requested the value.
public:
virtual property long TotalCount { long get(); };
public override long TotalCount { get; }
member this.TotalCount : int64
Public Overrides ReadOnly Property TotalCount As Long
Property Value
The return value can be either zero or a positive value equal to the number of entities in the set on the server.
Remarks
InvalidOperationException is thrown when the count was not part of the original request; that is, if the count tag is not found in the response stream.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.