Share via


CookiesAuthenticationControl.HasCookies property

Gets a value indicating whether the control contains any authentication 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 CookiesAuthenticationControl
Dim value As Boolean

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

Property value

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

See also

Reference

CookiesAuthenticationControl class

CookiesAuthenticationControl members

Microsoft.Office.Server.Search.WebControls namespace