QueryOperationResponse.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.
Gets the server result set count value from a query, if the query has requested the value.
public:
virtual property long TotalCount { long get(); };
public virtual long TotalCount { get; }
member this.TotalCount : int64
Public Overridable ReadOnly Property TotalCount As Long
Property Value
Zero or a positive value equal to the number of entities in the set on the server.
Exceptions
The count tag is not found in the response stream.
Remarks
An InvalidOperationException is raised when 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.