UserPreference.GetUserPreference-Methode (Boolean, SPContext)
Die UserPreference aus der Datenbank abrufen
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Shared Function GetUserPreference ( _
lookupFromCache As Boolean, _
context As SPContext _
) As UserPreference
'Usage
Dim lookupFromCache As Boolean
Dim context As SPContext
Dim returnValue As UserPreference
returnValue = UserPreference.GetUserPreference(lookupFromCache, _
context)
public static UserPreference GetUserPreference(
bool lookupFromCache,
SPContext context
)
Parameter
lookupFromCache
Typ: System.BooleanOb aus Cache erste oder gehen Sie direkt zum Db nachschlagen
- context
Typ: Microsoft.SharePoint.SPContext
Rückgabewert
Typ: Microsoft.Office.Server.Search.Administration.UserPreference
Das UserPreference-Objekt