Freigeben über


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.Boolean

    Ob aus Cache erste oder gehen Sie direkt zum Db nachschlagen

Rückgabewert

Typ: Microsoft.Office.Server.Search.Administration.UserPreference
Das UserPreference-Objekt

Siehe auch

Referenz

UserPreference Klasse

UserPreference-Member

GetUserPreference-Überladung

Microsoft.Office.Server.Search.Administration-Namespace