Share via


ProfileManagerBase.Search - Méthode (String)

Récupère un tableau d'objets ProfileBase d'un type particulier de profil dont les propriétés utilisables dans une requête correspondent au modèle de recherche spécifié.

Espace de noms :  Microsoft.Office.Server.UserProfiles
Assembly :  Microsoft.Office.Server.UserProfiles (dans Microsoft.Office.Server.UserProfiles.dll)

Syntaxe

'Déclaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Function Search ( _
    searchPattern As String _
) As ProfileBase()
'Utilisation
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
)

Paramètres

Valeur renvoyée

Type : []

Voir aussi

Référence

ProfileManagerBase classe

ProfileManagerBase - Membres

Search - Surcharge

Microsoft.Office.Server.UserProfiles - Espace de noms