DataServiceBehavior.AcceptCountRequests-Eigenschaft
Ruft ab oder legt fest, ob Anforderungen mit dem $count-Pfadsegment oder den $inlinecount-Abfrageoptionen akzeptiert werden.
Namespace: System.Data.Services
Assembly: Microsoft.Data.Services (in Microsoft.Data.Services.dll)
Syntax
'Declaration
Public Property AcceptCountRequests As Boolean
Get
Set
'Usage
Dim instance As DataServiceBehavior
Dim value As Boolean
value = instance.AcceptCountRequests
instance.AcceptCountRequests = value
public bool AcceptCountRequests { get; set; }
public:
property bool AcceptCountRequests {
bool get ();
void set (bool value);
}
member AcceptCountRequests : bool with get, set
function get AcceptCountRequests () : boolean
function set AcceptCountRequests (value : boolean)
Eigenschaftswert
Typ: System.Boolean
True , wenn Zählanforderungen unterstützt werden; andernfalls false.