Partilhar via


FormsAuthenticationControl.HasCookies Property

Gets a value indicating whether the control contains any forms authentication logon cookies.

Namespace:  Microsoft.Office.Server.Search.WebControls
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public ReadOnly Property HasCookies As Boolean
    Get
'Usage
Dim instance As FormsAuthenticationControl
Dim value As Boolean

value = instance.HasCookies
public bool HasCookies { get; }

Property Value

Type: System.Boolean
true if the control contains any logon cookies; otherwise, false.

See Also

Reference

FormsAuthenticationControl Class

FormsAuthenticationControl Members

Microsoft.Office.Server.Search.WebControls Namespace