共用方式為


FormsAuthenticationConfiguration.TicketCompatibilityMode 屬性

定義

取得或設定值,這個值表示要使用 Coordinated Universal Time (UTC) 或當地時間做為票證到期日。

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

屬性值

TicketCompatibilityMode

票證到期日相容模式。

屬性

範例

TicketCompatibilityMode

用於驗證的表單元素 (ASP.NET 設定結構描述)

備註

預設值是以列舉值表示的 Framework20 當地時間。

適用於