UserProfileManager.IsAvailable method

Gets a value indicating whether there is a working connection to a User Profile Application in the specified service context.

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

Syntax

'Declaration
Public Shared Function IsAvailable ( _
    serviceContext As SPServiceContext _
) As Boolean
'Usage
Dim serviceContext As SPServiceContext
Dim returnValue As Boolean

returnValue = UserProfileManager.IsAvailable(serviceContext)
public static bool IsAvailable(
    SPServiceContext serviceContext
)

Parameters

Return value

Type: System.Boolean
Returns Boolean.

See also

Reference

UserProfileManager class

UserProfileManager members

Microsoft.Office.Server.UserProfiles namespace