DataServiceBehavior.AcceptAnyAllRequests 属性

获取或设置服务器是否接受使用包含 all 或 any 表达式的筛选器的请求。

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

语法

声明
Public Property AcceptAnyAllRequests As Boolean
    Get
    Set
用法
Dim instance As DataServiceBehavior
Dim value As Boolean

value = instance.AcceptAnyAllRequests

instance.AcceptAnyAllRequests = value
public bool AcceptAnyAllRequests { get; set; }
public:
property bool AcceptAnyAllRequests {
    bool get ();
    void set (bool value);
}
member AcceptAnyAllRequests : bool with get, set
function get AcceptAnyAllRequests () : boolean
function set AcceptAnyAllRequests (value : boolean)

属性值

类型:System.Boolean
服务器接受 all 或 any 表达式时为 True;否则为 false。

注释

默认值为 true。

请参阅

参考

DataServiceBehavior 类

System.Data.Services 命名空间