FormsAuthenticationConfiguration.Timeout プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > FormsAuthenticationConfiguration.Timeout プロパティの意味・解説 

FormsAuthenticationConfiguration.Timeout プロパティ

メモ : このプロパティは、.NET Framework version 2.0新しく追加されたものです。

認証タイムアウト期間を取得または設定します

名前空間: System.Web.Configuration
アセンブリ: System.Web (system.web.dll 内)
構文構文

Dim instance As FormsAuthenticationConfiguration
Dim value As TimeSpan

value = instance.Timeout

instance.Timeout = value
public TimeSpan Timeout { get; set;
 }
public:
property TimeSpan Timeout {
    TimeSpan get ();
    void set (TimeSpan value);
}
/** @property */
public TimeSpan get_Timeout ()

/** @property */
public void set_Timeout (TimeSpan value)

プロパティ
認証有効期限切れてからの時間 (分単位)。既定値30 分です。

使用例使用例

Timeout プロパティへのアクセス方法次のコード例示しますセクション取得する方法については、FormsAuthenticationConfiguration クラストピックにあるコード例参照してください

' Get the current Timeout.
  Dim currentTimeout As System.TimeSpan = _
  formsAuthentication.Timeout

' Set the Timeout.
  formsAuthentication.Timeout = _
  System.TimeSpan.FromMinutes(10)

// Get the current Timeout.
System.TimeSpan currentTimeout = 
    formsAuthentication.Timeout;
          
// Set the Timeout.
formsAuthentication.Timeout = 
    System.TimeSpan.FromMinutes(10);

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
FormsAuthenticationConfiguration クラス
FormsAuthenticationConfiguration メンバ
System.Web.Configuration 名前空間
FormsAuthenticationConfiguration.SlidingExpiration プロパティ
その他の技術情報
authenticationforms 要素 (ASP.NET 設定スキーマ)



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

FormsAuthenticationConfiguration.Timeout プロパティのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



FormsAuthenticationConfiguration.Timeout プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2024 Microsoft.All rights reserved.

©2024 GRAS Group, Inc.RSS