AuthenticationSection.Forms プロパティ
アセンブリ: System.Web (system.web.dll 内)

Dim instance As AuthenticationSection Dim value As FormsAuthenticationConfiguration value = instance.Forms
public: property FormsAuthenticationConfiguration^ Forms { FormsAuthenticationConfiguration^ get (); }
フォーム ベース認証中に使用する情報が格納される 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;

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からAuthenticationSection.Forms プロパティを検索する場合は、下記のリンクをクリックしてください。

- AuthenticationSection.Forms プロパティのページへのリンク