ProfileSearchManager.GetProfileSearchManager Method (SPServiceContext)
Returns the ProfileSearchManager object for the specified SPServiceContext.
Namespace: Microsoft.Office.Server.UserProfiles
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
Public Shared Function GetProfileSearchManager ( _
context As SPServiceContext _
) As ProfileSearchManager
'Usage
Dim context As SPServiceContext
Dim returnValue As ProfileSearchManager
returnValue = ProfileSearchManager.GetProfileSearchManager(context)
public static ProfileSearchManager GetProfileSearchManager(
SPServiceContext context
)
Parameters
- context
Type: Microsoft.SharePoint.SPServiceContext
Return Value
Type: Microsoft.Office.Server.UserProfiles.ProfileSearchManager