共用方式為


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 命名空間