Partager via


Query.PersonalizationData Property

Applies to: Microsoft SharePoint Server 2010 search
Gets or sets the unique identifier (ID) for the current user who submitted the search query.

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

Syntax

'Declaration
Public Property PersonalizationData As QueryPersonalizationData
    Get
    Set
'Usage
Dim instance As Query
Dim value As QueryPersonalizationData

value = instance.PersonalizationData

instance.PersonalizationData = value
public QueryPersonalizationData PersonalizationData { get; set; }

Property Value

Type: Microsoft.Office.Server.Search.Query.QueryPersonalizationData
The current user’s ID.

See Also

Reference

Query Class

Query Members

Microsoft.Office.Server.Search.Query Namespace