다음을 통해 공유


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 네임스페이스