ProfileManagerBase.Search 方法 (OrganizationProfile, String[])
请注意:此 API 现在已过时。
其可搜索属性与指定的搜索模式匹配的指定的OrganizationProfile对象下 (如ProfileBase对象) 中检索用户和组织的数组。
命名空间: Microsoft.Office.Server.UserProfiles
程序集: Microsoft.Office.Server.UserProfiles(位于 Microsoft.Office.Server.UserProfiles.dll 中)
语法
声明
<ObsoleteAttribute("This method is no longer supported.")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Function Search ( _
org As OrganizationProfile, _
searchPattern As String() _
) As ProfileBase()
用法
Dim instance As ProfileManagerBase
Dim org As OrganizationProfile
Dim searchPattern As String()
Dim returnValue As ProfileBase()
returnValue = instance.Search(org, searchPattern)
[ObsoleteAttribute("This method is no longer supported.")]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public ProfileBase[] Search(
OrganizationProfile org,
string[] searchPattern
)
参数
- searchPattern
类型:[]
返回值
类型:[]