DataServiceBehavior.AcceptProjectionRequests Property
Gets or sets whether projection requests should be accepted.
Namespace: System.Data.Services
Assembly: Microsoft.Data.Services (in Microsoft.Data.Services.dll)
Syntax
'Declaration
Public Property AcceptProjectionRequests As Boolean
Get
Set
'Usage
Dim instance As DataServiceBehavior
Dim value As Boolean
value = instance.AcceptProjectionRequests
instance.AcceptProjectionRequests = value
public bool AcceptProjectionRequests { get; set; }
public:
property bool AcceptProjectionRequests {
bool get ();
void set (bool value);
}
member AcceptProjectionRequests : bool with get, set
function get AcceptProjectionRequests () : boolean
function set AcceptProjectionRequests (value : boolean)
Property Value
Type: System.Boolean
True if projection requests are supported; otherwise false.
Remarks
Projection requests are made by using the $select query option.