Share via


Query.AuthenticationType property

NOTE: This API is now obsolete.

Gets or sets the authentication type for the query.

Namespace:  Microsoft.SharePoint.Search.Query
Assembly:  Microsoft.SharePoint.Search (in Microsoft.SharePoint.Search.dll)

Syntax

'Declaration
<ObsoleteAttribute("This class is obsolete.")> _
Public Property AuthenticationType As QueryAuthenticationType
    Get
    Set
'Usage
Dim instance As Query
Dim value As QueryAuthenticationType

value = instance.AuthenticationType

instance.AuthenticationType = value
[ObsoleteAttribute("This class is obsolete.")]
public QueryAuthenticationType AuthenticationType { get; set; }

Property value

Type: Microsoft.SharePoint.Search.Query.QueryAuthenticationType
A value from the QueryAuthenticationType enumeration.

See also

Reference

Query class

Query members

Microsoft.SharePoint.Search.Query namespace