Edit

Share via


DataServiceBehavior.AcceptCountRequests Property

Definition

Gets or sets whether requests with the $count path segment or the $inlinecount query options are accepted.

public:
 property bool AcceptCountRequests { bool get(); void set(bool value); };
public bool AcceptCountRequests { get; set; }
member this.AcceptCountRequests : bool with get, set
Public Property AcceptCountRequests As Boolean

Property Value

true if count requests are supported; otherwise false.

Applies to