UserProfileManager.IsAvailable-Methode
Ruft einen Wert an, ob eine funktionstüchtige Verbindung zu einem Benutzerprofildienst-Anwendung im angegebenen Dienstkontext vorhanden ist.
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
)
Parameter
- serviceContext
Typ: Microsoft.SharePoint.SPServiceContext
Rückgabewert
Typ: System.Boolean
Gibt Boolean zurück.