FormsAuthentication.IsEnabled 属性
定义
获取一个值,该值指示是否启用了 Forms 身份验证。Gets a value that indicates whether forms authentication is enabled.
public:
static property bool IsEnabled { bool get(); };
public static bool IsEnabled { get; }
member this.IsEnabled : bool
Public Shared ReadOnly Property IsEnabled As Boolean
属性值
如果启用窗体身份验证,则为 true;否则,为 false。true if forms authentication is enabled; otherwise, false.