次の方法で共有


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