Partager via


Location.CurrentUserProfile Property

Gets or sets the user profile to use for the search query.

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

Syntax

'Declaration
Public Property CurrentUserProfile As UserProfile
    Get
    Set
'Usage
Dim instance As Location
Dim value As UserProfile

value = instance.CurrentUserProfile

instance.CurrentUserProfile = value
public UserProfile CurrentUserProfile { get; set; }

Property Value

Type: Microsoft.Office.Server.UserProfiles.UserProfile
The user profile to use.

See Also

Reference

Location Class

Location Members

Microsoft.Office.Server.Search.Query Namespace