Udostępnij za pośrednictwem


SessionStateSection.UseHostingIdentity Właściwość

Definicja

Pobiera lub ustawia wartość określającą, czy stan sesji będzie używać personifikacji klienta, gdy jest dostępny, czy zawsze powróci do tożsamości hostingu.

public:
 property bool UseHostingIdentity { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("useHostingIdentity", DefaultValue=true)]
public bool UseHostingIdentity { get; set; }
[<System.Configuration.ConfigurationProperty("useHostingIdentity", DefaultValue=true)>]
member this.UseHostingIdentity : bool with get, set
Public Property UseHostingIdentity As Boolean

Wartość właściwości

Boolean

true jeśli aplikacja internetowa powinna przywrócić tożsamość hostingu; w przeciwnym razie , false. Wartość domyślna to true.

Atrybuty

Dotyczy