Export (0) Print
Expand All

QueryOperationResponse.TotalCount Property

Gets or sets the server result set count value from a query, if the query has requested the value.

Namespace:  System.Data.Services.Client
Assembly:  Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)

public virtual long TotalCount { get; }

Property Value

Type: System.Int64
The return value can be either a zero or positive value equal to the number of entities in the set on the server.

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.

Show:
© 2014 Microsoft