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

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

AuthenticationSection.Forms プロパティ

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

Forms 要素プロパティ取得します

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

Public ReadOnly Property
 Forms As FormsAuthenticationConfiguration
Dim instance As AuthenticationSection
Dim value As FormsAuthenticationConfiguration

value = instance.Forms
public FormsAuthenticationConfiguration Forms { get;
 }
public:
property FormsAuthenticationConfiguration^ Forms {
    FormsAuthenticationConfiguration^ get ();
}
/** @property */
public FormsAuthenticationConfiguration get_Forms ()
public function get Forms
 () : FormsAuthenticationConfiguration

プロパティ
フォーム ベース認証中に使用する情報格納される Forms 要素プロパティ

使用例使用例

Forms 要素プロパティ使用する方法次のコード例示します

' Get the current Forms property.
  Dim currentForms _
  As FormsAuthenticationConfiguration = _
  authenticationSection.Forms

' Get the Forms attributes.
  Dim name As String = _
  currentForms.Name
  Dim login As String =
 _
  currentForms.LoginUrl
  Dim path As String = _
  currentForms.Path
  Dim cookieLess As HttpCookieMode = _
  currentForms.Cookieless
  Dim requireSSL As Boolean
 = _
  currentForms.RequireSSL
  Dim slidingExpiration As Boolean
 = _
  currentForms.SlidingExpiration
  Dim enableXappRedirect As Boolean
 = _
  currentForms.EnableCrossAppRedirects

  Dim timeout As TimeSpan = _
  currentForms.Timeout
  Dim protection As FormsProtectionEnum = _
  currentForms.Protection
  Dim defaultUrl As String
 = _
  currentForms.DefaultUrl
  Dim domain As String =
 _
  currentForms.Domain
// Get the current Forms property.

FormsAuthenticationConfiguration currentForms = 
    authenticationSection.Forms;

// Get the Forms attributes.
string name = currentForms.Name;
string login = currentForms.LoginUrl;
string path = currentForms.Path;
HttpCookieMode cookieLess = currentForms.Cookieless;
bool requireSSL = currentForms.RequireSSL;
bool slidingExpiration = currentForms.SlidingExpiration;
bool enableXappRedirect = currentForms.EnableCrossAppRedirects;

TimeSpan timeout = currentForms.Timeout;
FormsProtectionEnum protection = currentForms.Protection;
string defaultUrl = currentForms.DefaultUrl;
string domain = currentForms.Domain;

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



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

辞書ショートカット

すべての辞書の索引

「AuthenticationSection.Forms プロパティ」の関連用語

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

   

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



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

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

©2024 GRAS Group, Inc.RSS