Partilhar 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