다음을 통해 공유


ProfileSearchManager.SearchAudiences Method

Uses the specified search patterns to search for audiences.

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

Syntax

'Declaration
Public Function SearchAudiences ( _
    searchPattern As String() _
) As Audience()
'Usage
Dim instance As ProfileSearchManager
Dim searchPattern As String()
Dim returnValue As Audience()

returnValue = instance.SearchAudiences(searchPattern)
public Audience[] SearchAudiences(
    string[] searchPattern
)

Parameters

  • searchPattern
    Type: []

Return Value

Type: []

Remarks

Audiences are not profiles so this additional method is required to search for them.

See Also

Reference

ProfileSearchManager Class

ProfileSearchManager Members

Microsoft.Office.Server.UserProfiles Namespace