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
- serviceContext
Type: Microsoft.SharePoint.SPServiceContext
Return Value
Type: System.Boolean
Returns Boolean.