Share via


ProfileSearchManager.Search Method (String , ProfileSearchFlags)

Uses the specified search patterns to search for profiles of specified types.

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

Syntax

'Declaration
Public Function Search ( _
    searchPatterns As String(), _
    sFlags As ProfileSearchFlags _
) As ProfileBase()
'Usage
Dim instance As ProfileSearchManager
Dim searchPatterns As String()
Dim sFlags As ProfileSearchFlags
Dim returnValue As ProfileBase()

returnValue = instance.Search(searchPatterns, _
    sFlags)
public ProfileBase[] Search(
    string[] searchPatterns,
    ProfileSearchFlags sFlags
)

Parameters

  • searchPatterns
    Type: []

Return Value

Type: []

See Also

Reference

ProfileSearchManager Class

ProfileSearchManager Members

Search Overload

Microsoft.Office.Server.UserProfiles Namespace