UserPreference.GetUserPreference - Méthode (Boolean, SPContext)

Obtenir le UserPreference à partir de la base de données

Espace de noms :  Microsoft.Office.Server.Search.Administration
Assembly :  Microsoft.Office.Server.Search (dans Microsoft.Office.Server.Search.dll)

Syntaxe

'Déclaration
Public Shared Function GetUserPreference ( _
    lookupFromCache As Boolean, _
    context As SPContext _
) As UserPreference
'Utilisation
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
)

Paramètres

  • lookupFromCache
    Type : System.Boolean

    S'il faut rechercher à partir du cache premier ou accédez directement à la base de données

Valeur renvoyée

Type : Microsoft.Office.Server.Search.Administration.UserPreference
L'objet UserPreference

Voir aussi

Référence

UserPreference classe

UserPreference - Membres

GetUserPreference - Surcharge

Microsoft.Office.Server.Search.Administration - Espace de noms