แก้ไข

แชร์ผ่าน


QueryOperationResponse.TotalCount Property

Definition

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