Rediger

Del via


QueryOperationResponse<T>.TotalCount Property

Definition

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