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
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.