Location.CurrentUserProfile 属性

获取或设置要用于搜索查询的用户配置文件。

命名空间:  Microsoft.Office.Server.Search.Query
程序集:  Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)

语法

声明
Public Property CurrentUserProfile As UserProfile
    Get
    Set
用法
Dim instance As Location
Dim value As UserProfile

value = instance.CurrentUserProfile

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

属性值

类型:Microsoft.Office.Server.UserProfiles.UserProfile
要使用的用户配置文件。

另请参阅

引用

Location 类

Location 成员

Microsoft.Office.Server.Search.Query 命名空间