ProfileManagerBase.Search 方法 (String)

检索特定的配置文件类型的可搜索属性与指定的搜索模式匹配的ProfileBase对象的一个数组。

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

语法

声明
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Function Search ( _
    searchPattern As String _
) As ProfileBase()
用法
Dim instance As ProfileManagerBase
Dim searchPattern As String
Dim returnValue As ProfileBase()

returnValue = instance.Search(searchPattern)
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public ProfileBase[] Search(
    string searchPattern
)

参数

返回值

类型:[]

另请参阅

引用

ProfileManagerBase 类

ProfileManagerBase 成员

Search 重载

Microsoft.Office.Server.UserProfiles 命名空间