DataServiceBehavior.AcceptProjectionRequests 属性

获取或设置是否应接受投影请求。

命名空间:  System.Data.Services
程序集:  Microsoft.Data.Services(在 Microsoft.Data.Services.dll 中)

语法

声明
Public Property AcceptProjectionRequests As Boolean
    Get
    Set
用法
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)

属性值

类型:System.Boolean
如果支持投影请求,则为 True;否则为 false。

注释

投影请求通过使用 $select 查询选项进行。

请参阅

参考

DataServiceBehavior 类

System.Data.Services 命名空间