編集

次の方法で共有


FormsAuthenticationConfiguration.TicketCompatibilityMode Property

Definition

Gets or sets a value that indicates whether to use Coordinated Universal Time (UTC) or local time for the ticket expiration date.

public:
 property System::Web::Configuration::TicketCompatibilityMode TicketCompatibilityMode { System::Web::Configuration::TicketCompatibilityMode get(); void set(System::Web::Configuration::TicketCompatibilityMode value); };
[System.Configuration.ConfigurationProperty("ticketCompatibilityMode", DefaultValue=System.Web.Configuration.TicketCompatibilityMode.Framework20)]
public System.Web.Configuration.TicketCompatibilityMode TicketCompatibilityMode { get; set; }
[<System.Configuration.ConfigurationProperty("ticketCompatibilityMode", DefaultValue=System.Web.Configuration.TicketCompatibilityMode.Framework20)>]
member this.TicketCompatibilityMode : System.Web.Configuration.TicketCompatibilityMode with get, set
Public Property TicketCompatibilityMode As TicketCompatibilityMode

Property Value

The ticket expiration-date compatibility mode.

Attributes

Examples

TicketCompatibilityMode

forms Element for authentication (ASP.NET Settings Schema)

Remarks

The default value is local time as expressed by the Framework20 enumeration value.

Applies to