Condividi tramite


Proprietà DataServiceBehavior.IncludeAssociationLinksInResponse

Ottiene o imposta un valore che indica se i collegamenti alla relazione sono inclusi nelle risposte dal servizio dati.

Spazio dei nomi  System.Data.Services
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)

Sintassi

'Dichiarazione
Public Property IncludeAssociationLinksInResponse As Boolean
    Get
    Set
'Utilizzo
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)

Valore proprietà

Tipo: System.Boolean
True quando vengono restituiti i collegamenti alla relazione; in caso contrario, false.

Osservazioni

Il valore predefinito è false.

Vedere anche

Riferimento

DataServiceBehavior Classe

Spazio dei nomi System.Data.Services