Compartilhar via


ProfileManagerBase.Search method (String[])

Recupera uma matriz de objetos ProfileBase de um tipo de perfil específico cujas propriedades podem ser pesquisadas correspondam aos padrões de pesquisa especificados.

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaração
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Function Search ( _
    searchPattern As String() _
) As ProfileBase()
'Uso
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
)

Parâmetros

  • searchPattern
    Type: []

Valor retornado

Type: []

Ver também

Referência

ProfileManagerBase class

ProfileManagerBase members

Search overload

Microsoft.Office.Server.UserProfiles namespace