DataServiceBehavior.IncludeAssociationLinksInResponse プロパティ

データ サービスからの応答にリレーションシップ リンクを含めるかどうかを取得または設定します。

名前空間:  System.Data.Services
アセンブリ:  Microsoft.Data.Services (Microsoft.Data.Services.dll)

構文

'宣言
Public Property IncludeAssociationLinksInResponse As Boolean
    Get
    Set
'使用
Dim instance As DataServiceBehavior
Dim value As Boolean

value = instance.IncludeAssociationLinksInResponse

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

プロパティ値

型: System.Boolean
リレーションシップ リンクが返される場合は true、それ以外の場合は false。

説明

既定値は false です。

関連項目

参照

DataServiceBehavior クラス

System.Data.Services 名前空間