ProfileManagerBase.Search method (OrganizationProfile, String)
NOTE: This API is now obsolete.
Recupera uma matriz de usuários e organizações (como objetos ProfileBase ) abaixo do objeto especificado OrganizationProfile cujas propriedades podem ser pesquisadas coincidam com um padrão de pesquisa especificado.
Namespace: Microsoft.Office.Server.UserProfiles
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaração
<ObsoleteAttribute("This method is no longer supported.")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Function Search ( _
org As OrganizationProfile, _
searchPattern As String _
) As ProfileBase()
'Uso
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
)
Parâmetros
- searchPattern
Type: System.String
Valor retornado
Type: []