ProfileManagerBase.Search method (String)
Recupera uma matriz de objetos ProfileBase de um tipo de perfil específico cujas propriedades podem ser pesquisadas correspondem ao padrão de pesquisa especificado.
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: System.String
Valor retornado
Type: []